PDA

View Full Version : Form processing decided by radio buttons


neilson
08-21-2004, 02:55 PM
Does anyone know how to code the following? I need a form with a text field, 2 radio buttons (or a dropdown list with 2 options) and a search button.

Pressing the search button will process the text through one of two search scripts depending on which radio button or option is selected. If radio button 1 is selected, the data will be processed using search script 1 and so on, or if radio button 2 is selected, the data will be processed in using script 2.

Your help is greatly appreciated! I bet this is a walk in the park for you agent002!

Thanks

Neilson

Josh
08-21-2004, 03:00 PM
What are you searching? Searching is done server side, and this would much easilier be done server side.

neilson
08-21-2004, 07:38 PM
There are 2 server side search scripts and choosing a radio option will determine which one is used:

Selecting Radio option 1 will use Search Script 1

Or choosing Radio option 2 will use search script 2