[SOLVED] Formbuilder: no carriage return in emails

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jocando
Forum Members
Forum Members
Posts: 50
Joined: Thu Feb 19, 2009 4:20 pm

[SOLVED] Formbuilder: no carriage return in emails

Post by jocando »

Hi

I've set up a form using FormBuilder. Only problem is that the email comes through in one large block of information - no carriage returns.

I've tried everything I can think of. Is there a way to manually insert a carriage return in the email template?  Or anything else I can do?

I'm using the latest version of CMSMS(1.6.6) and Form Builder (0.6b1)

Many thanks.
Jo
Last edited by jocando on Sat Dec 12, 2009 7:02 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Formbuilder: no carriage return in emails

Post by Rolf »

Hi Jocando

Add |nl2br to the text block parameter >> for instance {$reaction|nl2br}

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
jocando
Forum Members
Forum Members
Posts: 50
Joined: Thu Feb 19, 2009 4:20 pm

Re: Formbuilder: no carriage return in emails

Post by jocando »

Thanks - that looks like it ought to work, but it doesn't.  No effect.

Any idea why this isn't working?

Many thanks
Jo
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Formbuilder: no carriage return in emails

Post by Rolf »

Strange, it works for me...  :-\
Did you add it to all the right templates: mail, pages, etc.

Perhaps put a copy of one here

Grtz. Rolf  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
rab
Forum Members
Forum Members
Posts: 120
Joined: Wed Sep 05, 2007 8:35 pm

Re: Formbuilder: no carriage return in emails

Post by rab »

Have you tried inserting '
' wherever you want your carriage return in the email template? Works for me.

rab
jocando
Forum Members
Forum Members
Posts: 50
Joined: Thu Feb 19, 2009 4:20 pm

Re: Formbuilder: no carriage return in emails

Post by jocando »

Ah, so simple!  Yes, the
solution works. Phew!

Many thanks.  Don't know why the |nl2br doesn't work this time, but will try it out on another form just to check.

Thanks both!
Jo
Post Reply

Return to “Modules/Add-Ons”