Mandatory form

liunx

Guest
I've got a feedback page but need to make where they enter there email mandatory, how do I do this?<br />
<br />
<input type="text" name="Email" size="47"><br />
<br />
Cheers<!--content-->how is the form processed? i.e. how does it get to you?<!--content-->Server side form validation is the only reliable way.<!--content-->It goes to a cgi file :-<br />
<br />
<FORM METHOD="POST" ACTION="http://www.vetstream.co.uk/cgi/email2.cgi" onSubmit="return verify(this);"><br />
<input type=hidden name=mailto value="[email protected]"><br />
<input type=hidden name=mailtitle value="Vetstream Feedback"><br />
<input type=hidden name=httpreferer value="http://www.vetstream.com/feedback_form_acknowledgement.htm"><br />
<br />
Is there a small javascript I can use?<!--content-->dunno about small but try this; <!-- m --><a class="postlink" href="http://javascript.about.com/library/scripts/blformvalidate.htm">http://javascript.about.com/library/scr ... lidate.htm</a><!-- m --><br />
<br />
or a google search:<br />
<!-- m --><a class="postlink" href="http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=javascript+form+validation&btnG=Search">http://www.google.com/search?hl=en&lr=& ... tnG=Search</a><!-- m --><!--content-->... javascript can be disabled...<!--content-->
 
Back
Top