[phorm] [Phorm:] Validation

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 1 Mar 2004 21:25:27 -0000

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

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

  MESSAGE:  (#3791) Validation 
            <http://www.phorm.com/support/?rev=3791> 
  AUTHOR:   Jamie Cadorette 
  DATE:     March 1, 2004 at 4:25 p.m. EST 

Okay. Maybe I've missed something, but I can't get validation to work. I made 
the rule file. I uploaded it. It didn't work. The mail went through without 
the required fields. I noticed mention of placing the rule file in the 
"templates" directory, but there wasn't a templates directory that I could 
find. So I made one in my phorm directory and put my rule file in there. I got 
an error message stating that my email template file could not be found at 
templates/email.txt, so I moved my email template file into the templates 
folder. The email worked again, but still sent out without validation. What am 
I doing wrong? 

Here's my rule file: 

FILES 

### 

CRIT: REQ 

FFLD: FirstName 

MESG: 

Please enter your first name into the First Name field. 

### 

CRIT: REQ 

FFLD: LastName 

MESG: 

Please enter your last name into the Last Name field. 

### 

CRIT: REQ 

FFLD: PHORM_FROM 

MESG: 

Please enter your e-mail address into the E-mail field. 

### 

CRIT: REQ 

FFLD: Phone 

MESG: 

Please enter your phone number into the Phone field. 

### 

Any help would be greatly appreciated. 

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

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: