Results 1 to 2 of 2

Thread: form with email validation

  1. #1
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default form with email validation

    1) Script Title: Email + validation of other fields

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ilvalidate.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.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    The code is used in a form, look:
    HTML Code:
    <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.
    Jeremy | jfein.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •