I would like to verify a form before submition.
The form has a name, the calls are fully qualified (used document.formname…) but it does not work for me.
The function:
function monkeyLove()
{
document.forms[0].action = “./survey2003.php”;
document.forms[0].method = “post”;
document.forms[0].submit();
}
also tried the form name
function monkeyLove()
{
document.text_entry_form.action = “./survey2003.php”;
document.text_entry_form.method = “post”;
document.text_entry_form.submit();
}
Both work in M$IE and Netscape, but not in Mozilla.
Less than 1% of the hits on my site use Mozilla, but this may change.