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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

receiving form fields as select fields

Status
Not open for further replies.

acmeweb

Programmer
Nov 21, 2003
9
0
0
US
if i have a select box in the first form with the values "bob", "jim" and "alice". the user selects "alice" and submits the form. the second asp page has a form which should have "alice" selected, but with the option to then change that selection to "bob" or "jim".

the reason i need the ability to make a change from the original selection is that the second form may not be called from the first page...it may be called from somewhere else within the website.

i have set up 2 pages; and with a sample, but cant get it to work.

if you have the answer, please give me an example. thank you.
 
this is what i have;
<%
FirstSelect = Request.Form(&quot;FirstName&quot;)
%>

<select name=<%=FirstSelect%> size=&quot;1&quot;>
<option>bob</option>
<option>jim</option>
<option>alice</option>
</select>

am i missing something?
 
there you go: thread333-712914 the experts came thru once again.
 
only took 5 mins, this place is great!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top