[phorm] [Phorm:] Re: date validation

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 25 Aug 2004 20:47:25 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#4295) Re: date validation 
            <http://www.phorm.com/support/?rev=4295> 
  AUTHOR:   Herb French 
  DATE:     August 25, 2004 at 4:47 p.m. EST 

  Reply To: (#4294) date validation 
  Author:   Charles 
  Date:     August 25, 2004 at 3:07 p.m. EST 

> I would like to add a validation criterion that 
> requires an entry to be a valid date. All I care about 
> is that the date entry is a valid date. Here is what I 
> tried: 

> RULE: dateVALID 
> CRIT: DATECMP 
> ARGS: >= 0/0/0000 
> FFLD: date 
> MESG: - Date field must be valid date format (example 
> 9/15/04) 
> ### 

> I was hoping that requiring the "date" to be 
> after 0/0/0000 would work but it is not catching 
> invalid entries (like "today", or "end 
> of year"). 

> Is there an easy way to do this? 

> Charles 
You might consider replacing the "date" text field with a "Date Picker" script 
of some sort. 

I utilize a javascript app called "PopCalendarXP" to make the user choose a 
date from a dropdown calender to insure that the date is valid. 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: