[phorm] [Phorm:] Re: Required Fields

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 17 Apr 2003 05:49:55 -0000

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

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

  MESSAGE:  (#2546) Re: Required Fields 
            <http://www.phorm.com/support/?rev=2546> 
  AUTHOR:   Erich 
  DATE:     April 17, 2003 at 1:49 a.m. EST 

  Reply To: (#2541) Re: Required Fields 
  Author:   Bob Brody 
  Date:     April 16, 2003 at 5:34 p.m. EST 

Hi Bob, 
I've got the errorform set up the same as the form page. What I did is set up 
the original form (widgets.html) as a .php page and integrate it into the 
site. The error page is the same page only in html format with the error codes 
you indicate below each necessary field. 

When I test the email field, it works properly - forwards to the error page 
and displays the "You must enter an email address" message. As you stated, the 
error field calls the PHORM_FROM message. 

However, I've got most other fields required as well.....at least on the 
rules.txt file. But when I leave these fields blank, the form processes as if 
they were all filled in. I've checked case, field names, error message paths, 
and everything I can think of. 

Am I overlooking something simple? 

Thanks for the reply, 
Erich 

> Hi, Erich. 

> If you're referring to the Widgets example, notice 
> that the error messages (in errorform.html) are 
> created atop each respective field. I.e., the error 
> reporting is field-specific. If you're copying the 
> exact string that reports the PHORM_FROM field when 
> missing, and nothing else, then all you'll get is a 
> error message with the email is left out or is 
> incorrect. 

> <!-- Phorm Messages PHORM_FROM <FONT 
> COLOR=TEAL><B>###</B></FONT><BR>--> 

> I believe that's just going to check the PHORM_FROM 
> field. 

> Notice further down: 

> <!-- Phorm Messages Color --> 

> That reports a message if a Color is not chosen. 

> In other words, you can split up the error messages to 
> locate them with the respective fields if you want. 

> Whereas, 

> <!-- Phorm Messages--> 

> would put all the error messages in one spot. 

> Well, I think that's the issue. I've been away from 
> Phorm for a while so I'm still rusty. :-) 

> Bob 

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

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: