Hello all. I am new to working with macros and Kentico. I have a form that has a multiple choice field where you can choose more than one option. In the form's notification email, I have the multiple choice value printed. Right now if multiple choices are selected the output is listed horizontal. How can I get it so each choice selected is printed vertically?
example: What I get now: multiple choice: Option A, Option B, Option C My desired outcome:
multiple choice: Option A, Option B, Option C
multiple choice: Option A Option B Option C
Thanks!
You may be able to do {% TheMultipleChoiceField.Replace("\n\r", "<br/>") @} and see if that works...
{% TheMultipleChoiceField.Replace("\n\r", "<br/>") @}
That did not seem to work.
Sorry, try this
{% TheMultipleChoiceField.Replace(",", "\n\r") %}
Please, sign in to be able to submit a new answer.