JS validation loop breaks form?
It works fine in Firefox and Chrome, but in IE the form does not show. I think because there's a problem with the JS validation function "checkAll" just before the form on line 113:
var obj = document.forms[formObj];
//alert(obj.name + " " + obj.length);
for (i=0; i<obj.length; i++)
if ((obj[i].value == "") & (obj[i].type != "hidden"))
//alert("Name: " + obj[i].name + ", Type: " + obj[i].type);
alert("Please enter a value for all fields.");
Can any one suggest why this does not work in IE?
(I'm using a loop because I have several forms with many fields and I want to test them all.)