var _alertString="";
var alertString2;
if (f.categorycode.value.length==0) {
- _alertString += "- categorycode missing\\n";
+ _alertString += "- categorycode missing\n";
}
// alert(window.document.Aform.description.value);
if (!(isNotNull(window.document.Aform.description,1))) {
- _alertString += "- description missing\\n";
+ _alertString += "- description missing\n";
}
if (!isNum(f.upperagelimit,0)) {
- _alertString += "- upperagelimit is not a number\\n";
+ _alertString += "- upperagelimit is not a number\n";
}
if (_alertString.length==0) {
document.Aform.submit();
} else {
- alertString2 = "Form not submitted because of the following problem(s)\\n";
- alertString2 += "------------------------------------------------------------------------------------\\n\\n";
+ alertString2 = "Form not submitted because of the following problem(s)\n";
+ alertString2 += "------------------------------------------------------------------------------------\n\n";
alertString2 += _alertString;
}
}