[phorm] [Phorm:] Re: Using PHORM_TO & PHORM_SUBJECT

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 8 Apr 2004 14:11:28 -0000

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

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

  MESSAGE:  (#3970) Re: Using PHORM_TO & PHORM_SUBJECT 
            <http://www.phorm.com/support/?rev=3970> 
  AUTHOR:   Holotech 
  DATE:     April 8, 2004 at 10:11 a.m. EST 

  Reply To: (#3968) Using PHORM_TO & PHORM_SUBJECT 
  Author:   RW Wood 
  Date:     April 7, 2004 at 4:49 p.m. EST 

> To that end I've used PHORM_TO and PHORM_SUBJECT as 
> the names for two of the fields in the form. I also 
> have those variables defined in the config files for 
> both the initial and confirmation forms. 

> However, when I fill out the form and submit it, the 
> confirmation shows "Array" 

> What am I doing wrong? 

You're not doing anything wrong. A lot of the $PHORM_ variables get converted 
to arrays to simplify processing within Phorm. This won't be a problem in 
Phorm 4, as it has separate data spaces for everything. Meanwhile, in your 
configuration file, simply assign the $PHORM_ variable to a different variable 
and use that in your template: 

$Subject = $PHORM_SUBJECT; 
$Email = $PHORM_TO; 

The config file is processed before the array conversion takes place. 

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

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:] Re: Using PHORM_TO & PHORM_SUBJECT