Hallo zusammen
Hello
i use a formualr check routine. It works fine with MSIE, but the
Netscape Browser ignores the check routine. It means, if one
will one give in data into the fields, then it must not send the formular
th the webserver. But Netscape will send it anyway !!!!
What do i wrong ? Must i specify any additional arguments or parameters ?
If yes, which ones ?
Thanks a lot for your help in advance !
Best regards
Werner Hofer
It follows a part of the check routine :
*************Javascript Check Routine *************
<script language="Javascript">
function check_formular() {
if (document.form_mitt.name.value =="") {
alert("Tragen Sie bitte Ihren Namen ein !");
document.form_mitt.name.focus();
return false;
}
if (document.form_mitt.tel.value =="") {
alert("Geben Sie bitte Ihre Telefon-Nummer ein !");
document.form_mitt.tel.focus();
return false;
}
return true;
} // end function
************ Formular **************
<form name="form_mitt" method="post" action="verarbeitung.php">
onSubmit="return check_formular();">
<input type=text name="tel">
<input type=text name="name">
<input type=submit value="Senden">
</form>