for some reason the regular exprtession validation function was not added to the script tag in the head.
add the following code to the script in the head to define the regular expresion validation:
function WAValidateRX(formElement,inputType,regExStr,errorMsg,focusIt,stopIt,required) {
var isValid = true;
var value=WAFV_GetValueFromInputType(formElement,inputType,required);
var extraArgs = regExStr.substring(regExStr.lastIndexOf("/")+1);
regExStr = regExStr.substring(regExStr.indexOf("/")+1,regExStr.lastIndexOf("/"));
regExStr = regExStr.replace(/"/g,'"');
var regEx = new RegExp(regExStr,extraArgs);
if ((!document.WAFV_Stop && !formElement.WAFV_Stop) && !(!required && value=="")) {
var theMatch = regEx.test(value);
if (!theMatch) {
isValid = false;
}
}
if (!isValid) {
WAAddError(formElement,errorMsg,focusIt,stopIt);
}
}