[phorm] [Phorm:] Re: Multiline form fields

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 3 Feb 2003 17:11:59 -0000

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

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

  MESSAGE:  (#2216) Re: Multiline form fields 
            <http://www.phorm.com/support/?rev=2216> 
  AUTHOR:   Holotech 
  DATE:     February 3, 2003 at 12:11 p.m. EST 

  Reply To: (#2195) Re: Multiline form fields 
  Author:   Gero 
  Date:     January 28, 2003 at 3:49 a.m. EST 

> I have posted all the details here in order to save 
> space on the board: 
> http://ferienwohnung.morres.de/phorm.htm 

The problem with no line breaks in the ack page is that it is HTML - line 
breaks are ignored, and must be specified with the <BR> tag. There is a 
function in PHP called nl2br which will help you with this: 

$ackmessage = nl2br($message); 

Then include {{ackmessage}} in your ack template. 

The extra line breaks in the email is from your browser sending line breaks as 
a carriage-return/line-feed (CRLF) combination, and your email client 
rendering each of them as a separate line break. 

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

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: