J
Jackie
Hi,
Can anyone tell me how to use the value of a radio button to decide which
page a form should return its results to?
I have a form with many hidden fields carried forward from a log-in page.
Other than those, the form contains only 3 radio buttons, enabling the user
to choose to insert, amend or delete a database record.
I've been trying to set up the form action dependant upon the value of the
radio button, but it's returning a blank value. What am I doing wrong?
<form METHOD="POST" action="<%=request.form("gotopage")%>.asp?partnerid=<%
=partnerid %>" name="form">
Insert new hotel <input type="radio" value="newhotel" checked
name="gotopage"></p>
Amend existing hotel <input type="radio" name="gotopage"
value="yourhotels"></p>
Delete existing hotel <input type="radio" name="gotopage"
value="deletehotels"></p>
<input type="submit" value="Submit" name="B1">
Many thanks,
Jackie
Can anyone tell me how to use the value of a radio button to decide which
page a form should return its results to?
I have a form with many hidden fields carried forward from a log-in page.
Other than those, the form contains only 3 radio buttons, enabling the user
to choose to insert, amend or delete a database record.
I've been trying to set up the form action dependant upon the value of the
radio button, but it's returning a blank value. What am I doing wrong?
<form METHOD="POST" action="<%=request.form("gotopage")%>.asp?partnerid=<%
=partnerid %>" name="form">
Insert new hotel <input type="radio" value="newhotel" checked
name="gotopage"></p>
Amend existing hotel <input type="radio" name="gotopage"
value="yourhotels"></p>
Delete existing hotel <input type="radio" name="gotopage"
value="deletehotels"></p>
<input type="submit" value="Submit" name="B1">
Many thanks,
Jackie