HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 31st, 2004, 08:33 AM
dupati1 dupati1 is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Oct 2003
Posts: 560 dupati1 User rank is Sergeant (500 - 2000 Reputation Level)dupati1 User rank is Sergeant (500 - 2000 Reputation Level)dupati1 User rank is Sergeant (500 - 2000 Reputation Level)dupati1 User rank is Sergeant (500 - 2000 Reputation Level)dupati1 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 51 m 43 sec
Reputation Power: 22
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.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > User Friendly form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway