[phorm] [Phorm:] parse error in rules file

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 30 Mar 2004 05:08:47 -0000

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

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

  MESSAGE:  (#3922) parse error in rules file 
            <http://www.phorm.com/support/?rev=3922> 
  AUTHOR:   Mary Ellen 
  DATE:     March 30, 2004 at 12:08 a.m. EST 

I just changed my rules file to check that if one field is filled in, all of 
them are filled in. 

Here's the only part of the file that changed: 

RULE: 12 
CRIT: REQ 
FFLD: name[2] 
COND: email[2] || badge[2] || size[2] || rtype[2] 
LEVL: 1 
MESG: Please enter name for second attendee. 
### 

RULE: 13 
CRIT: REQ 
FFLD: badge[2] 
COND: email[2] || name[2] || size[2] || rtype[2] 
LEVL: 1 
MESG: Please enter badge name for second attendee. 
### 

RULE: 14 
CRIT: REQ 
FFLD: size[2] 
COND: email[2] || name[2] || badge[2] || rtype[2] 
LEVL: 1 
MESG: Please enter shirt size for second attendee. 
### 

RULE: 15 
CRIT: REQ 
FFLD: rtype[2] 
COND: email[2] || name[2] || badge[2] || size[2] 
LEVL: 1 
MESG: Please enter registration type for second attendee. 
### 

The rules themselves seem to work, but the page looks like this: 

Parse error: parse error in /home/afo/public_html/mrohp/phorm.php(928) : 
eval()'d code on line 1 

Parse error: parse error in /home/afo/public_html/mrohp/phorm.php(928) : 
eval()'d code on line 1 
The following fields are in error: 
Please enter badge name for second attendee. 
Please enter shirt size for second attendee. 

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

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:] parse error in rules file