title: Need ASP code for a simple form - radio buttons redirect to urls
body: <p>Can someone direct me to an example of asp code that will process a form which has only radio buttons? The functionality: When a radio button is checked and submit is clicked the user will be redirected to specific url. onclick="window.location='http://www.google.com';" Will not do the trick here. We have to wait until "submit" is clicked.</p>
  
  <pre><code>&lt;form name="input" action="the_code_you_are_helping_me_with.asp" method="get"&gt;
  &lt;input type="radio" name="option1" value="1" /&gt;option1&lt;br /&gt;
  &lt;input type="radio" name="option2" value="2" /&gt;option2&lt;br /&gt;
  &lt;input type="radio" name="option3" value="3" /&gt;option3&lt;br /&gt;
  &lt;input type="radio" name="option4" value="4" /&gt;option4&lt;br /&gt;
  &lt;input type="radio" name="option5" value="5" /&gt;option5&lt;br /&gt;
  
  
  &lt;input type="submit" value="Submit" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>Thanks in advance,</p>
  
  <p>dp</p>