prova questo
codice:<script language="vbscript"> function ControllaLunghezza(oggetto,minLen) Valore=oggetto.value if Len(Valore)<minLen then MsgBox "Si devono inserire " & minLen & " caratteri",vbCritical,"Errore" oggetto.focus end if end function </script> <INPUT type="text" name=text1 maxlength="11" onblur="ControllaLunghezza text1,11 ">![]()


Rispondi quotando