Maybe someone can figure this one out…
We just upgraded out server to 6.5.1. Suddenly our web apps are not working properly anymore…
Whenever we do field validation with javascript and one of the manditory fields is left blank we get the proper error message but then we get a blank page with the word “false” displayed.
The code is VERY basic…
function doSubmit() {
form = document.forms[0];
var valid = "" ;
if (form.Subject.value == "") {
alert("You must enter a value in the Subject field") ;
valid = "No" ;
return False;
}
if (form.Author.value == "") {
alert("You must enter a value in the Author field") ;
valid = "No" ;
return False;
}
if (valid == "") {
_getEditAppletData();
form.submit();
return true
}
}
We are using the Rich Text applet… I’m wondering if that might be the problem??
Any ideas are welcomed!
Thanks.
K.