Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

ASP form to email using Radio buttons

I just started using ASP. I am developing web forms using asp. I want the result to go to an email address. I have got text boxes working fine but I dont know how to capture data from Radio buttons input

fname = Request.Querystring("First_Name")

Radio= Request.??

Can any one help me?

Comments

  • DrMartenDrMarten Member Posts: 748
    [b][red]This message was edited by DrMarten at 2006-12-20 5:12:8[/red][/b][hr]
    : I just started using ASP. I am developing web forms using asp. I want the result to go to an email address. I have got text boxes working fine but I dont know how to capture data from Radio buttons input
    :
    : fname = Request.Querystring("First_Name")
    :
    : Radio= Request.??
    :
    : Can any one help me?
    ______________________________________________________________________

    Hi,

    Here are some tips.

    1) If you put radio buttons in a groupbox then only one at a time can be selected. :-)
    2) Double click the radiobutton in design view within VisualStudio.
    If you have set the development language to VisualBasic then you will get a Sub opened on the double-click event. ;-)

    Insert the following kind of code into the Sub.>>

    [code]
    'The control name may be different.
    If radiobutton1.Enabled=True Then
    'Make sure you have a textbox1 on your form for the next line to work.
    textbox1.text="You clicked radio button 1!!"
    EndIf
    [/code]

    Hope that helps?
    If you are wanting user Input after clicking the radio button then use
    an InputBox command. Do you need an example?



    Regards,

    Dr M.

Sign In or Register to comment.