ma come faccio ad integrarla nei controlli qui sotto?
var ln_c_cognome = document.modulo.cognome.value.length;
var expr_cognome = eval("/[a-z /]{" + ln_c_cognome + "}/i");
if ((document.modulo.cognome.value==""))
{
alert("Scrivi il tuo cognome");
document.modulo.cognome.focus();
return false;
}
è possibile???
ps: grazie e scusa, ma non ne capisco molto![]()