[phorm] [Phorm:] Re: Must fill in at least one field

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 20 Feb 2003 09:38:37 -0000

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

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

  MESSAGE:  (#2306) Re: Must fill in at least one field 
            <http://www.phorm.com/support/?rev=2306> 
  AUTHOR:   Patrick O'Hara 
  DATE:     February 20, 2003 at 4:38 a.m. EST 

  Reply To: (#2304) Must fill in at least one field 
  Author:   Kally 
  Date:     February 19, 2003 at 10:28 p.m. EST 

Hi Kally, 

The error you are getting is a server execution timeout error. This means that 
the script is trying to process for longer than 30 seconds. What I suggest is 
that you get it working using only one field being required: 

The ">" represents a tab character 

REQ > field1 > 1 
Error: Field 1 is required 
### 

I also was unable to get the + statements to work with the REQ condition, so 
try the following instead. It is a conditional REQ, which requires a 
non-existing field only if everything else is null. 

REQ ($field1 == "" && $field2 == "") > field_that_doesnt_exist > 1 
Error: Field 1 or Field 2 is required 
### 

Hope this helps, 

Patrick O'Hara 
WhitsundayIT 
QLD, Australia 

patrick@xxxxxxxxxxxxxxxx 
www.whitsundayit.com 

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

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: