Crow Canyon Software Forum

Forum Navigation
Please or Register to create posts and topics.

Formatting Multiple Choice Field Vertically in Email Template

We have an email template in a workflow that includes a multiple-choice field. Currently, the selected values display horizontally, separated by semicolons, like this:

strawberry;apple;pear;banana;kiwi;mango

If possible, we’d like to format the values vertically for better readability:

strawberry
apple
pear
banana
kiwi
mango

I tried using a variable with this expression:

$regexreplace([Fruit|Fruit],@\s*;\s*,\r\n)

However, I couldn’t get it to work—maybe the column stores the values as an array, and $regexreplace requires text? Or perhaps I have the syntax wrong?

Is there a straightforward way to display multiple-choice values vertically in an email template? Any guidance would be appreciated!

Hi Art,

“Is there a straightforward way to display multiple-choice values vertically in an email template? Any guidance would be appreciated!”

Yes, we can display the multi-choice values on separate lines in the mail template. Follow these steps:

  1. Go to the NITRO Workflow.
  2. Click on "Variables" at the top(see attachment)
  3. Create two variables:
    1. Name the first variable “varBr” and set its value to <br>, save it (see attachment).
    2. Name the second variable “varMultiChoice” and set its value as shown in the attachment and save it

4. In the mail template, add the variable “varMultiChoice” in the mail body as %%varMultiChoice##Value%%.

5.Save, publish the workflow, and check the results.

Uploaded files:
  • Screenshot-2025-03-01-003409.png
  • Screenshot-2025-03-01-003450.png
  • Screenshot-2025-03-01-003503.png
  • Screenshot-2025-03-01-003511.png

Perfect, that's exactly what I needed.

Thank you!