Client VAlidation
I'm having a problem validating radio button on a custom form using the new client validation behavior.
the field is called gender. When applying the validation do I put it on gender,gender(0) or gender(1)?
onsubmit="WAValidateRQ(document.WADAUpdateForm.pname,'Title - Entry is required',document.WADAUpdateForm.pname,0,true,'select');WAValidateRQ(document.WADAUpdateForm.fname,'First name - Entry is required',document.WADAUpdateForm.fname,0,true,'text');WAValidateRQ(document.WADAUpdateForm.lname,'Last name - Entry is required',document.WADAUpdateForm.lname,0,true,'text');WAValidateRQ(document.WADAUpdateForm.address1,'Address - Entry is required',document.WADAUpdateForm.address1,0,true,'text');WAValidateRQ(document.WADAUpdateForm.city,'City - Entry is required',document.WADAUpdateForm.city,0,true,'text');WAValidateRQ(document.WADAUpdateForm.state,'State/Province - Entry is required',document.WADAUpdateForm.state,0,true,'text');WAValidateRQ(document.WADAUpdateForm.zip,'Zip/Postal code - Entry is required',document.WADAUpdateForm.zip,0,true,'text');WAValidateRQ(document.WADAUpdateForm.country,'Country - Entry is required',document.WADAUpdateForm.country,0,true,'text');WAValidateRQ(document.WADAUpdateForm.date_of_birth,'Date of Birth - Entry is required',document.WADAUpdateForm.date_of_birth,0,true,'text');WAValidateRQ(document.WADAUpdateForm.gender[0],'Gender - Entry is required',false,0,true,'radio');WAValidateRQ(document.WADAUpdateForm.signature,'Attest (last)- Entry is required',document.WADAUpdateForm.signature,0,true,'checkbox');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,document.getElementById('false'),false);return document.MM_returnValue"