Radio butoon error check

Results 1 to 4 of 4

Thread: Radio butoon error check

  1. #1
    chris horner Guest

    Default Radio butoon error check

    Using two radio buttons "yes" and "No" how do I check that one of these buttons has been checked by a user, using a javascript function

  2. #2
    Join Date
    Dec 1969

    Default RE: Radio butoon error check

    javascript? the data should be passed through posting...request the query string maybe?

  3. #3
    Join Date
    Dec 1969

    Default RE: Radio button error check

    To check if it is checked with javascript, try<BR>if(!(formname.fieldname.checked))

  4. #4
    Big Mac Guest

    Default RE: Radio butoon error check

    You could prolly do<BR><BR>if (document.form.radiobutton.value NOT EQUAL "Y") or (document.form.radiobutton.value NOT EQUAL "N"){...}<BR>else<BR> nothing was checked

Posting Permissions

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