<form ..... onsubmit=return controllo()>

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