unable to retrieve data from radio buttons

  1. #1
    madguy000 is offline Full Member

    Question unable to retrieve data from radio buttons

    I have created a form in html.
    in this page, there are check boxes and radio buttons.

    when i press the submit button, i am able to extract which check boxes are checked, but i am unable to do so with radio buttons...

    can anyone give me a template code in javascript which may work? maybe a sample code?

  2. #2
    You should always have groups of at least two radio buttons. These are given the same name per group.

    The radio buttons in a group will then be transmitted as *one* field with *one* value.

  3. #3
    HappyBeaver is offline Bea*ering Away!
    Tackle the Web with $5.99 .COM's from Go Daddy!
    Java script isn't necessary... can I see the page?

+ Reply to Thread