How can i make my search form as user friendly as possible
Posted: Thu Sep 03, 2009 2:12 pm
Hello,
I am building an application which runs a query in the backend depending on how many fields the user fills. At the moment, I have a lot of 'if' statements which checks if each field is filled and then runs the query. I have not even completed this but I have used quite a lot of if statements! Is there any other way of achieving this which will be more efficient than the if statements?
Cheers
I am building an application which runs a query in the backend depending on how many fields the user fills. At the moment, I have a lot of 'if' statements which checks if each field is filled and then runs the query. I have not even completed this but I have used quite a lot of if statements! Is there any other way of achieving this which will be more efficient than the if statements?
Cheers