[phorm] [Phorm:] Validation Rules

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 7 Jul 2003 17:14:51 -0000

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

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

  MESSAGE:  (#2936) Validation Rules 
            <http://www.phorm.com/support/?rev=2936> 
  AUTHOR:   Dominic Willett 
  DATE:     July 7, 2003 at 1:14 p.m. EST 

I have a config file and form that work fine. I added validation and it doesnt 
seem to be working. Here are some of the my variables and files: 

In my config file: 

$PHORM_VALDEFS = "valid.txt"; 

My valid.txt file contains: 

FILES 
error.html 
RULES 
EMAIL 1 PHORM_FROM 1 
Your email address did not appear to be a valid email address, please hit back 
on your browser and try again. 
### 
REQ 1 name 
Your Name is required 
### 
REQ 1 lname 
Your last name is required 
### 
REQ 1 address 
Your address is required 
### 
REQ 1 city 
Your city is required 
### 
REQ 1 state 
Your state is required 
### 
REQ 1 zip 
Your zip code is required 
### 
REQ 1 pzip 
Your primary zip code for leads is required 
### 
REQ 1 phone 
Your phone number is required 
### 
REQ 1 fax 
Your fax number is required 
### 

And lastly my error.html contains just a simple phorm result tag. 

Any suggestions? 

Dominic 

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

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