here is the html <input name="leadingZero" type="text" id="leadingZero"> <input name="Submit" type="submit" onClick="DWZ_CheckForm('form1','The form contains errors or is incomplete','leadingZero;text;No;RegExp,^[1-9]{1}\d+(.?\d{2})?$,Flag;,;The field \'\'leadingZero\'\' is not valid');return document.MM_returnValue" value="Submit">
It was to prevent no leading 0. I also tried any of the standard regular expression that were provided such as usa zip (9), credit card etc. None of them work. |
|
|