Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Coldfusion OnClick More Options

Status
Not open for further replies.

CptTom

Programmer
Jul 16, 2001
117
US
I have a CF form which requires the user to select a site location for each record, to speed up the processor, I put the most likely answers (1-4) into the drop down. The last item in the list is "More Options". I want an onclick event here that will populate the drop-down with all 152 choices.

I have them as 2 separate queries.

Any ideas?

Thanks,
 
well, this comes down to you needing to do some analysis work. there are a couple ways to do this - either you store the short list and the long list in javascript arrays (something I wouldn't recommend), or you have them submit the form when they select "more options", at which point the drop-down will then auto-fill with the complete list.

both ways require a decision from you, and both require both of your queries.

which is it?



*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top