|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
User Friendly form
Hi Guys,
Here is what i want to do. I want to create a user friendly search form in the below format. ********************************************** Dropdown1 Dropdown2 Dropdown3 Dropdown4 fieldName criteria Value holder Link criteria The Dropdown1 has all the field names(for eg: custName, custNumber, custStatus etc) The Dropdown2 has all the criteria ( for eg: equals to, IN, Greater Than etc...) The Dropdown3 has either the value to be entered in a textbox or a drop down The Dropdown3 has link criteria for multiple field search(for eg: AND, OR) from which the user can select the value. For example: If a user want to do a search on custName In Dropdown1 the user selects the custName field and then In Dropdown2 the user selects the equals to criteria and then In Dropdown3 the user enters the value(string) which is the name of the customer on the other hand if the user want to do a search on customers under 'A' or 'G' status then In Dropdown1 the user selects the custStatus field and then in Dropdown2 the user selects the criteria as "IN" and then in Dropdown3 it should be a drop down box listing all the Statuses from which the user can select his desired statuses. *************************** Ok i hope i explained it well. But the thing here is, i want to do the following: 1. All these 3 dropdowns should be linked dropdowns. 2. if the user selects custName in the Dropdown1, i want the dropdown3 changed to a textbos but if the user selects custStatus in the Dropdown, then i want the dropdown3 to be a dropdown box 3.user can do a search on multiple fields. so i want to begin the page showing the first dropdown and after the user's field selection i want to populate the other three dropdowns accordingly. Once the user enters all the search criteria under field 1 and if the user selects the link criteria i want to create another dropdown1 and repeat the process until the user leaves the link criteria dropdown unselected. Any Suggestions, sample code or links will be appreciated. Thanks in advance. |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > User Friendly form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|