Hi,I am a newbie who uses third party software to create websites. So I have this website and then i learned how to create a form. Never took html course so bare with me. The bits I know have brought me far. Only thing is I don't know how to make sure users enter the right responses. For example, in the email field, you can enter anything and submit it. I have no code or way to make sure it's actually an existing email. You can enter random numbers and still no validation. I'm not good at CSS so the challenge is, no CSS. I used a third party form software but it screws my W3C html validation. Any help? Any input pleease?
Here is the code:
<form method="post" action="http://www.mydom.com/cgi-bin/formmail.pl">
<input type="hidden" name="redirect" value="http://www.mydom.com/thankyoupage.html"/>
<input type="hidden" name="recipient" value="newsletter@mydom.com"/>
<input type="hidden" name="subject" value="Newsletter or quote"/>
<div>*Your Name:<input type="text" name="name" size="25" maxlength="100"/>
</div>
<div>*Email:<input type="text" name="email" size="25" maxlength="140"/>
</div>
<div>*Phone Number: <input type="text" name="phone" size="25" maxlength="140"/>
</div>
<div>Company:<input type="text" name="Company" size="25" maxlength="140"/>
</div>
<div>*Website Address: <input type="text" name="URL" size="25" maxlength="140"/>
</div>
<div>Monthly Budget:<input type="text" name="Bugget" size="25" maxlength="140"/>
</div>
<div>How did you find us?<input type="text" name="Bugget" size="25" maxlength="140"/>
</div>
<div align="right">*This request is to
<select name="request for">
<option value="newsletter">Join our newsletter</option>
<option value="quote">FREE quote </option>
<option value="quote">Call Back (specify time/goal box) </option>
<option value="other">Other (please specify below)</option>
</select>
</div>
<div align="left">Owner?
<select name="ownership">
<option value="own">Yes</option>
<option value="do not own">No</option>
</select>
</div>
<div align="left">Your Goal: <div>
<textarea name="comments" rows="6" cols="35">
</textarea>
</div>
</div>
<div align="left">
<input type="submit" name="Request" value="submit"/>
<input type="reset" name="Clear" value="clear form"/>
</div>
</form>
</div>
</div>
There is no way of validating any of my fields. How do i make sure the email address is actually an email address and that the website address is actually a website URL?