Results 1 to 3 of 3

Thread: Validating a form field

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Ireland
    Posts
    224

    Validating a form field

    Hi Guys,
    I have a form that takes in a date in the form YYYYMMDD. eg 20010511. Could someone please show me how to make sure that the date is entered in this format into this field of my form.
    Thanks a lot,
    JK

  2. #2
    Junior Member
    Join Date
    Dec 2000
    Location
    London
    Posts
    25
    Hi,

    Have a look at this:

    http://javascript.internet.com/forms/format-date.html

    Hope this helps!

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Ireland
    Posts
    224
    That's a great script. Thanks a lot
    JK

Posting Permissions

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



Click Here to Expand Forum to Full Width