[phorm] [Phorm:] Re: Criterion on Multiple fields

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 28 Mar 2004 16:16:21 -0000

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

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

  MESSAGE:  (#3906) Re: Criterion on Multiple fields 
            <http://www.phorm.com/support/?rev=3906> 
  AUTHOR:   Holotech 
  DATE:     March 28, 2004 at 11:16 a.m. EST 

  Reply To: (#3886) Criterion on Multiple fields 
  Author:   Lyle Dove 
  Date:     March 22, 2004 at 4:08 p.m. EST 

> Is it possible to have the form check to make sure 
> fields field1, field2, and field3 are all not the 
> default setting? For example, when the initial form is 
> brought up, these 3 fields are by default, 
> "N/A". I want it to check to make sure at 
> least 1 field is changed to another option other than 
> the default value. 

Sure: 

CRIT: NE 
ARGS: N/A 
FFLD: field1 
COND: ($field2 == "N/A" && $field3 == "N/A") 
MESG: You must select 1, 2 or 3 

Repeat for fields 2 and 3, remembering to change the COND as well. 

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

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: