Can anyone please help me?
I have this form, which works fine, but the problem is that whenever you click the submit button the email is sent even if nothing is written in the form.
How can i change this into having (maybe with javascript?) it check if the form is filled before submiting.
<form action=”
<input type=hidden name=”mail-to” value=”
<input type=hidden name=”mail-from” value=”text”>
<input type=hidden name=”mail-subject” value=”text”>
<input type=hidden name=”mail-success” value=”
<div align=”left”>
<p>Nome:<br>
<strong>
<input name=”Nome” type=”text” id=”Nome” size=”20″ maxlength=”35″>
<br>
<br>
</strong> E-mail:<strong><br>
<input name=”E-mail” type=”text” id=”E-mail” size=”20″ maxlength=”35″>
<br>
<br>
<input type=”submit” name=”Submit” value=”Enviar”>
</strong></p>
</div>
</form>
help would be really apreciated, thanks,
cogumelo