Validatio is skipped
Hi,
I have a form that I have validation on but the validation is never validated it is skipped:
<form action="<%=MM_editAction%>" method="post" enctype="multipart/form-data" name="form1" id="form1" onSubmit="<%=pau.submitCode()%>;return document.MM_returnValue;WAValidateRQ(document.form1.DocumentReference,'- Document Reference is required',document.form1.DocumentReference,0,false,'text');WAValidateRQ(document.form1.ValidFrom,'- Valid From Date is required',document.form1.ValidFrom,0,false,'text');WAValidateRQ(document.form1.ValidTo,'- Valid To Date is required',document.form1.ValidTo,0,false,'text');WAValidateRQ(document.form1.DocumentType,'- Document Type is required',document.form1.DocumentType,0,true,'select');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false,false);return document.MM_returnValue">
Any ideas?