[phorm] [Phorm:] date validation

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 25 Aug 2004 19:07:52 -0000

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

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

  MESSAGE:  (#4294) date validation 
            <http://www.phorm.com/support/?rev=4294> 
  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 

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

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:

  • » [phorm] [Phorm:] date validation