Client side validation not working
I'm using a client side validation to prevent users from entering anything but a number into the field however the validation doesn't seem to do anything except prevent the field from passing it's value through the POST which causes the insert function to fail due to too few values being passed.
<input name="agtFee" type="text" id="agtFee" onblur="WAValidateRT(document.forms[2].agtFee,document.forms[2].agtFee.value,'- Invalid content in entry. Do not use \'$\', \'%\' or \',\'','%20%25%20|, %20$%20|, ,|',document.forms[2].agtFee,1,false);WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,document.rebateInsert,false);return document.MM_returnValue" />
I do get this pop-up error from time to time when working on the page:
"While executing analyzeServerBehavior in InsertRecord.htm, a JavaScript error occurred."