PDA

View Full Version : form with email validation



ramon2699
05-29-2009, 03:19 AM
1) Script Title: Email + validation of other fields

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/emailvalidate.htm

3) Describe problem: I would like to add other fields over and above email validation i.e. Name, phone etc. New to JS and DD, Pls help.

Nile
05-30-2009, 12:37 AM
The code is used in a form, look:


<form>
<input name="myemail" type="text" style="width: 300px"><br/>
<input type="submit" onClick="return checkmail(this.form.myemail)" value="Submit" />
</form>


Are you new to html? If so, check out some of these input tutorials:

http://www.w3schools.com/html/html_forms.asp
http://www.htmlcodetutorial.com/forms/_INPUT.html
http://www.tizag.com/htmlT/htmlinput.php
http://htmlhelp.com/reference/html40/forms/input.html

Good luck.