cosi funziona:
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento senza titolo</title>
<script language="javascript" type="text/javascript">
function VerificaForm(){
var Nominativo = document.getElementById("nominativo")
if(Nominativo.value==""){
document.getElementById(Nominativo.name.toUpperCase()).style.display='inline';
Nominativo.focus();
return false;
}
var Email = document.getElementById("email")
if(Email.value==""){
document.getElementById(Email.name.toUpperCase()).innerHTML='(Mancante)';
Email.focus();
return false;
}else if(!Email.value.match(/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/)){
document.getElementById(Email.name.toUpperCase()).innerHTML='(Errata)';
Email.focus();
return false;
}
var Oggetto = document.getElementById("oggetto")
if(Oggetto.value==""){
document.getElementById(Oggetto.name.toUpperCase()).style.display='inline';
Oggetto.focus();
return false;
}
var Messaggio = document.getElementById("messaggio")
if(Messaggio.value==""){
document.getElementById(Messaggio.name.toUpperCase()).style.display='inline';
Messaggio.focus();
return false;
}
}
</script>

</head>

<body>


<form action="send.php" method="post" name="TheForm" id="TheForm" onSubmit="return VerificaForm()">
<fieldset id="informazioni">


<label for="nominativo">Nome e Cognome*: </label><input type="text" name="nominativo" id="nominativo" value="" tabindex="1" accesskey="n"  title="Inserisci il tuo nome" onkeyPress="document.getElementById('NOMINATIVO').style.display='none'" /><span id="NOMINATIVO" style="display:none; color:#FF0000">(Mancante)</span>
</p>


<label for="email">Email*:</label><input type="text" name="email" id="email" value=""  tabindex="2" accesskey="e"  title="Inserisci il tuo indirizzo e-mail" onkeyPress="document.getElementById('EMAIL').innerHTML=''"/><span id="EMAIL" style="color:#FF0000"></span>
</p>


<label for="oggetto">Oggetto*:</label><input type="text" name="oggetto" id="oggetto" value="" tabindex="3" accesskey="w"  title="Inserisci il motivo del contatto" onkeyPress="document.getElementById('OGGETTO').style.display='none'" /><span id="OGGETTO" style="display:none; color:#FF0000">(Mancante)</span>
</p>


<label for="messaggio">Messaggio*:</label>
<textarea name="messaggio" cols="20" rows="7" id="messaggio" tabindex="4" accesskey="m" title="Inserisci qui il tuo commento" onkeyPress="document.getElementById('MESSAGGIO').style.display='none'"></textarea><span id="MESSAGGIO" style="display:none; color:#FF0000">(Mancante)</span>
</p>
<input name="submit" type="submit" id="invia"  value="Invia" tabindex="5" accesskey="I"  title="Invia il tuo messaggio"/>
  
<input name="Pulsante" type="button" id="annulla"  onclick="self.location.reload();this.form.reset(); " accesskey="r" tabindex="6" title="Cancella i campi" value="Cancella"/>
</fieldset>
<input type="hidden" name="MM_insert" value="invia_mail">
</form>
</body>
</html>