[phorm] [Phorm:] Re: field content substitution

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 10 Jun 2003 06:18:45 -0000

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

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

  MESSAGE:  (#2817) Re: field content substitution 
            <http://www.phorm.com/support/?rev=2817> 
  AUTHOR:   Patrick O'Hara 
  DATE:     June 10, 2003 at 2:18 a.m. EST 

  Reply To: (#2816) Re: field content substitution 
  Author:   lello 
  Date:     June 10, 2003 at 12:29 a.m. EST 

> so i need a command that say "if the state field 
> contain - US only - then empty that field and email it 
> blank" or something similar 

If the state is equal to US only, set it to nothing. 

if ($state == "US only") { 
$state = ""; 
} 

Hope this helps. 

Regards, 

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: