allora prova così:
codice:function submitIt(theform) { if (theform.Nome.value == "") { alert("Obbligatorio"); theform.Nome.focus(); return false; } if (theform.Cognome.value == "") { alert("Obbligatorio"); theform.Cognome.focus(); return false; } re = new RegExp("^[!#$&'*+/-9=?A-Z^-~-]+(\\.[!#$&'*+/-9=?A-Z^-~-]+)*@[!#$&'*+/-9=?A-Z^-~-]+(\\.[!#$&'*+/-9=?A-Z^-~-]+)+$", "i"); if (!theform.Email.value.match(re)) { alert("Obbligatorio"); theform.Email.focus(); theform.Email.select(); return(false); } popup(); return controllo(); }

Rispondi quotando