Assigning Values

Results 1 to 2 of 2

Thread: Assigning Values

  1. #1
    Willie Guest

    Default Assigning Values

    I would like to assign the value of a radio button(which ever one is selected) to a string variable. Is this possible, and what would the syntax be? Thank You.

  2. #2
    Ian S Guest

    Default RE: Assigning Values

    &#060;html&#062;<BR>&#060;body&#062;<BR>&#060;f orm action="whatever.asp"&#062;<BR><BR>&#060;input type="radio" name="radio1" value=&#039yes"&#062;<BR>&#060;input type="radio" name="radio1" value=&#039no"&#062;<BR>&#060;/form&#062;<BR>&#060;/body&#062;<BR>&#060;/html&#062;<BR><BR>ASP code to retreive value:<BR><BR>&#060;%<BR>strRadio1 = Request("radio1")<BR>%&#062;<BR><BR>hope this helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •