[phorm] [Phorm:] Re: Validation w/conditions

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 3 Mar 2004 17:40:46 -0000

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

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

  MESSAGE:  (#3811) Re: Validation w/conditions 
            <http://www.phorm.com/support/?rev=3811> 
  AUTHOR:   Holotech 
  DATE:     March 3, 2004 at 12:40 p.m. EST 

  Reply To: (#3810) Re: Validation w/conditions 
  Author:   Lyle Dove 
  Date:     March 3, 2004 at 11:50 a.m. EST 

> RULE: region 
> CRIT: REQ 
> COND: $region != "-----------------" 
> FFLD: region 
> MESG: 
> It appears that the 'Region' field is empty.<br> 
> Please go back and correct this error.<br> 

The REQ criterion requires a field to have something in it, and 
"-----------------" qualifies as something. The COND component means, "If this 
condition is false, skip this rule." So basically your rule says, "If $region 
is not equal to -----------------, require it to be non-empty." 

You want the NE criterion: 

CRIT: NE 
ARGS: ----------------- 
FFLD: region 

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

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: