Ciao ragazzi,
sucsate se rompo sempre le scatole ma vorrei avere un aiuto da voi che di sicuro siete + esperti di me.
Ho un campo text area dove l'utente deve inserire l'email.
Ora i controlli sono:
1) Che ci sia l'@ nella text
2) Che la text nn sia vuota tutto questo associato a un pulsante submit.
in ambedue i casi dovrebbe uscire un'allert con il msg d'errore.
Grazie 1000 in anticipo
Francesco
ECCO LA PAGINA HTML:
<html>
<head>
<title>NEWSLETTER</title>
</head>
<body bgcolor="#000000">
<table width=230 height=313 border="0" background="Immagini/img_newsletter.jpg">
<tr>
<td>
<form name="form1" method="post" action="pagina2.asp">
<center><input type="text" name="email" size="33"></center>
<center><input type="submit" name="Submit" value="Invia"></center>
</form>
</tr>
</table>
</body>
</html>