grazie....
ma non cambia nulla rispetto al code che ho postato...
<script language="JavaScript">
<!--
function submitIt(theform) {
if (theform.nome.value == "") {
alert("Manca il nome...");
theform.nome.focus();
return false;
}
if (theform.cognome.value == "") {
alert("Manca il cognome...");
theform.cognome.focus();
return false;
}
'val_email=document.theform.email.value;
if ((theform.email.value =="")||
(theform.email.value.indexOf("@") == -1) ||
(theform.email.value.indexOf(".") == -1) ||
(theform.email.value.length < 7))
{
alert("Valorizzare E-mail correttamente.");
theform.email.focus();
return false;
}
}
-->
</script>
è sempre uguale il campo email prende qualsiasi cosa venga inserito...
![]()

Rispondi quotando