View Full Version : search/query by drop down

06-20-2005, 09:25 PM
I would like to consolidate 5 or 6 queries using multiple forms with multiple text fields and multiple "Go" buttons into a single text filed with a drop down to select the query type and a single "go" button.
What is involved? How is this done in Dreamweaver?

06-21-2005, 02:50 AM
can you provide any more information as to what the forms and queries are to do?

06-21-2005, 02:42 PM
What I am trying to do is something like this:

<% myvalue1= Request.Form("myTextField") %>
<% myvalue2= Request.Form("myTextField") %>
<% myvalue3 = Request.Form("myTextField") %>
<% myvalue4 = Request.Form("myTextField") %>
<% myvalue5 = Request.Form("myTextField") %>

<form name="myForm" method="post" action="">
<input name="myTextField" type="text" class="" onFocus="this.value='';" id="myTextField" value="Where do you want to go today?

<select name="select">
<option value="myvalue1">Qry1</option>
<option value=" myvalue2">Qry2</option>
<option value=" myvalue3">Qyr3</option>
<option value=" myvalue4 ">Qry4</option>
<option value=" myvalue5">Qry5</option>
<input type="submit" name="Submit" value="Submit!">


First, Will the above code handle the part where I need to pass the different variables = myTextField
Second, How do I handle the 5 different URLs to the 5 different results page.
How do I set multiple variable to the Action= in the form?

Thankls in advance