Hello All,
I have a form with a checkbox that is required for the user to proceed. Below is the code I have in my form tag. If the box is not checked, the the user gets the alert fine, but when they click to close alert box, the page proceeds anyway. Please tell me what I am doing wrong.
onSubmit="YY_checkform('form1','checkbox','#q','1','The Checkbox is required!');return document.MM_returnValue">
Thank you in advance.
-Terry
I have a form with a checkbox that is required for the user to proceed. Below is the code I have in my form tag. If the box is not checked, the the user gets the alert fine, but when they click to close alert box, the page proceeds anyway. Please tell me what I am doing wrong.
onSubmit="YY_checkform('form1','checkbox','#q','1','The Checkbox is required!');return document.MM_returnValue">
Thank you in advance.
-Terry