[phorm] [Phorm:] Re: striphtml and textarea line breaks

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 1 Jun 2004 18:55:23 -0000

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

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

  MESSAGE:  (#4096) Re: striphtml and textarea line breaks 
            <http://www.phorm.com/support/?rev=4096> 
  AUTHOR:   Holotech 
  DATE:     June 1, 2004 at 2:55 p.m. EST 

  Reply To: (#4095) striphtml and textarea line breaks 
  Author:   Bob Brody 
  Date:     May 30, 2004 at 7:04 p.m. EST 

> etc, You provided this code for the respective fields 
> in the config: 

> $FmtSubaddy = ereg_replace(" ", "&nbsp;&nbsp;", 
> ereg_replace("\n", "<br>\n", $subaddy)); 

> The Preview still has the <br> line breaks. 
> But when I send the form (via the second 
> config file) 

So add the above line to your second config file as well, to add the line 
breaks back in. 

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

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: striphtml and textarea line breaks