Hi, I'm trying to perform a simple action after the user has selected a radiobutton, and will then redirect the user to page1.asp if button1 is checked or page2.asp if button2 is checked. How can I make this selection?
<form name="form1" id="form1" method="post" action = "?" target="_blank">
<input type="radio" name="type" value="results" />
<input type="radio" name="type" value="edit" />
<input type="Submit" name="Get" value="Get">
</form>
I tried to insert a script after "action" that checks the radiobuttonvalue, but obviously the values get posted straight away to the action page.
Can somebody please help me on this
)
<form name="form1" id="form1" method="post" action = "?" target="_blank">
<input type="radio" name="type" value="results" />
<input type="radio" name="type" value="edit" />
<input type="Submit" name="Get" value="Get">
</form>
I tried to insert a script after "action" that checks the radiobuttonvalue, but obviously the values get posted straight away to the action page.
Can somebody please help me on this