[phorm] [Phorm:] thanks for the tip

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 2 Apr 2004 04:57:43 -0000

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

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

  MESSAGE:  (#3933) thanks for the tip 
            <http://www.phorm.com/support/?rev=3933> 
  AUTHOR:   Mary Ellen 
  DATE:     April 1, 2004 at 11:57 p.m. EST 

  Reply To: (#3929) Re: that worked, but another question... 
  Author:   David Fisher 
  Date:     March 30, 2004 at 11:38 p.m. EST 

> You could use PHP's un-operator(!): 
> $i != 0; 
> would evaluate true only if $i was not equal to 0. 

> Your rule might look like this: 
> RULE: 1 
> CRIT: REQ 
> FFLD: field_name 
> COND: $field_name != 0 

> This rule would require that field_name had a value 
> that was not equal to 0. You could string multiple 
> un-equals and ORs together to accomplish your goal. 

This wasn't what I did, but it gave me a push in the right direction. I just 
had to change the form to pass a space instead of a zero and change the config 
to check if the value wasn't space. :-) Works perfectly! (Why wouldn't it? 
This is Phorm!) 

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

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:] thanks for the tip