<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script>
function dennis(){
if(document.fabio.nome.value=""){alert('HEila');re turn false;
else return true;
}
</script>

</head>
<body bgcolor="#FFFFFF">
<form method="post" action="invio.htm" name="fabio" onSubmit="return dennis()">
Nome

<input type="text" name="nome">

Email

<input type="text" name="email">

Messaggio

<textarea name="messaggio" rows="5" cols=30></textarea>

<input type="submit" value="Invia">
</form>


</p></body>
</html>

lo script l'ho preso da un 3d di questo form, ma nn capisco xkè nn funziona