![]() |
|
|||||||
| ASP & VBScript Forum Need help from a webmaster with ASP or VBScript, you may ask in this forum? |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi
I'm pretty new to VB/ASP but I have the following snippet in a web page: <form method="GET" action="test_page.asp" id="form" name="form"> Option 1 <INPUT TYPE="RADIO" NAME="option" VALUE="1" CHECKED> Option 2<INPUT TYPE="RADIO" NAME="option" VALUE="2"> Option 3<INPUT TYPE="RADIO" NAME="option" VALUE="3"> <input type="submit" value="Submit" name="button"> </p> </form> <% form_value = Request.Form("option") %> <% If form_value <> "0" then Response.write "form_value = "& form_value &"" %> I want as a first step to have the value of form_value written to the screen, e.g. form_value = 1 or form_value = 2 but instead all that appears on the page on the server is form_value = with no value filled in. It appears to be really simple, so I can't figure out why it's not working (I want to set another variable based on the value of form_value). Any ideas? TIA. |
|
This ad is part of our Revenue Sharing program |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Retrieve Info From Form on HTML Page | ecmoore12 | ASP & VBScript Forum | 1 | 02-06-2008 07:07 PM |
| Declaration of public variables in vbscript | sona90s | ASP & VBScript Forum | 1 | 10-19-2007 07:54 PM |
| PHP Email form help | Brancoady | PHP Forum | 7 | 05-24-2007 08:00 AM |