Email displaying field that has multiline values

Hello,
I have a dilemma please.
I have a text input with multiline i.e. below

**blah **
**blah **
**bleh **
**blah **
bleu

my problem is in my email that has html, it doesn’t show it as formatted.
image
if the html field in the email is ON, it will display the value as
blah blah bleh blah bleu
otherwise it will display it as is but the html on my email will all be garbage
image

I hope my question is clear :smiley: and sorry if i made your head hurt

Hi,

Not completely clear, no. Where did the HTML tags come from? Is that in the multiline input?

try putting <br /> between each blah

1 Like

If the text is stored as a variable, you can do a find and replace for the “new line” (carriage return) character for the html new line. Replace({multilineVar}, {chr(10)}, ‘
’);

If it is just text you are manually entering, you can simply add
after each line you want to have a new line.

hi Guys,

Thanks so much for your reply, unfortunately, although all your suggestions works in some ways, it doesn’t go with what I needed.

I have use the tag < pre> and some formatting inside in case someone needed this.

Have you tried replacing new lines in Observations with
?

haha that doesn’t show up right.

< br slash > is what I have written before the ?

Hi,

(a bit late to the party but… :slight_smile: )

I think you just need to replace chr(10) with br in the variable that holds your entered text so that you can show your multiline usertep input in html mail body:


grafik

Hope this helps!

B R
Ivan