[thelist] JS Form validation - Radio buttons

CDitty mail at redhotsweeps.com
Thu Jun 21 22:44:26 CDT 2001


Thanks Matt.  This function is giving an error.   document.form.userid is 
null or not an object.

Chris

At 10:28 PM 6/21/2001, you wrote:
>You sure you're not getting an error? I don't believe "unchecked" is a valid
>property. The property is "checked".
>
>function query_validator(form){
>          if(document.form.userid.checked == false){
>                  alert('You must choose a user to process.');
>          return(false);
>          }
>}





More information about the thelist mailing list