I’m doing validation on submit and it doesnt seem to be working with IE 7. Can anyone offer some insight, here is a slimed down copy of my code:
[CODE]
function validate()
{
if(document.form.rotation.value==””)
{
alert(“You must enter a value for Rotation”);
return false
}
else
{
return true
}
}
<form method=’POST’ name=form action=’index.php?pageload=calllog&action=submit’ onSubmit=’return validate()’>3
<input type=text name=rotation>
<input type=submit>
</form>
Clearly, this is really slimmed down, but I’m sure you can get the gist. If I just do a simple:
alert(document.form.rotation.value);
on submit it doesn’t display any value either. I should mention that this works great in Firefox.