[phorm] [Phorm:] Data Validation

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 23 Feb 2003 11:19:44 -0000

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

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

  MESSAGE:  (#2315) Data Validation 
            <http://www.phorm.com/support/?rev=2315> 
  AUTHOR:   Chad 
  DATE:     February 23, 2003 at 6:19 a.m. EST 

Hey, sorry to have to post this, but I've looked through the documentation and 
searched the forum and can't figure out if there's a way to do this. 

I want to know if there is a way to use the "+" operator in conjunction with 
"EQ" criterion, so that it actually adds the two fields together to determine 
whether or not it is equal. 
Example (rules.txt): 

+ [field1] 
EQ 135 [field2] 1 

This is the way I tried setting it up. And it took me a long time to realize 
that if I put 100 into field1 and 35 into field2, rules.txt wasn't actually 
doing the math, it was placing them together as 10035. Obviously, the way I 
had it set up was giving me the error. 

So, my question is, is there any way to set this up so that it actually adds 
the two together? 

Thank you for any help. 
-Chad 

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

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:] Data Validation