Project

General

Profile

Bug #18497 ยป bug_validateFromJS.diff

Administrator Admin, 2008-03-25 09:23

View differences:

jsfunc.validateform.js 2008-03-25 09:21:53.000000000 +0100
formObject = document.getElementById(theFormname);
}
if (formObject && theFieldlist) {
theFieldlist=decodeURI(theFieldlist);
var index=1;
var theField = split(theFieldlist, ",", index);
var msg="";
......
theBadMess = "You must fill in these fields:";
}
theBadMess+="\n";
msg = msg.replace(/<[^>]*>/g, "");
decodeURI(msg);
alert(theBadMess+msg);
return false;
} else {
    (1-1/1)