Perchè col campo di tipo file (Foto) non da' alert?codice:<script language="javascript"> <!-- function Validator(theForm) { // Regular espression per effettuare Trim re=/\s+$|^\s+/g; ifif (theForm.Foto.value == "") { alert("Il campo Immagine non e' compilato"); theForm.Foto.focus(); return (false); } if (theForm.Alt.value == "") { alert("Il campo Descrizione non e' compilato"); theForm.Alt.focus(); return (false); } return (true); } //--> </script>