Question

Form has multi-line text fields, but new lines are not seen when the text is inserted into an email

  • 7 January 2020
  • 1 reply
  • 161 views

Badge

My form has several multi-line text fields. My client wants to see the inputted text appear on a confirmation email (generated during an Email Event in the workflow) and wants to see all the "new lines" that the user has inputted. The problem is that when the user types the following into the text field:

 

Note 1

Note 2

Note 3

 

The email shows this text as:

 

Note 1 Note 2 Note 3

 

I understand that the email renders HTML but I don't know how I can programatically insert a <br/> tag after each new line.

 

I currently have the form setup to send the multi-line text field data into a Data Field in the workflow. I then put the Data Field into the body of the email. But with this, the reproduction of new lines has not been successful.

 

Any ideas?

 

Thank you very much.


1 reply

Hi,

 

We had the similar issue and the simple alternative was using RichText Editor with disabled toolbar and design modes.

 

It worked for us, but not sure if this suits in your case.

 

 


Reply