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
[SOLVED] Formbuilder: no carriage return in emails
[SOLVED] Formbuilder: no carriage return in emails
Last edited by jocando on Sat Dec 12, 2009 7:02 pm, edited 1 time in total.
Re: Formbuilder: no carriage return in emails
Hi Jocando
Add |nl2br to the text block parameter >> for instance {$reaction|nl2br}
Grtz. Rolf
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
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Formbuilder: no carriage return in emails
Thanks - that looks like it ought to work, but it doesn't. No effect.
Any idea why this isn't working?
Many thanks
Jo
Any idea why this isn't working?
Many thanks
Jo
Re: Formbuilder: no carriage return in emails
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

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
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Formbuilder: no carriage return in emails
Have you tried inserting '
' wherever you want your carriage return in the email template? Works for me.
rab
' wherever you want your carriage return in the email template? Works for me.
rab
Re: Formbuilder: no carriage return in emails
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
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