Form Validation

Results 1 to 3 of 3

Thread: Form Validation

  1. #1
    Xena Guest

    Default Form Validation

    I have a form with Two Fields:<BR>Start Date<BR>Planned Stop Date<BR><BR>The following Validation is Needed<BR>1. Valid Date Format (ie. 1/12/2000)<BR>2. Start Date must be equal to or greater than today&#039s date<BR>3. Planned Stop Date must be greater than today&#039s date<BR>Any help would be appreciated!<BR>

  2. #2
    Steve Cimino Guest

    Default What help is needed?

    Looks like you&#039ve already answered your own question. Just place that logic into scripting now, by searching through the scripting docs to get what you need.

  3. #3
    KPW Guest

    Default RE: Form Validation

    What type of validation do you plan on using? Client-side or server-side? If client-side, then for your question 1 you should check out JavaScript&#039s regular expressions. For questions 2 and 3, check out JavaScript&#039s Date object.<BR><BR>If server side, I&#039m not sure how to validate date format. However, comparing Start/Stop date to today&#039s date is not that difficult.<BR><BR>HTH

Posting Permissions

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