Emails: Can I display the options selected in the Multiple Choice field in a single line instead of multiple lines?

  • Profile Image
    Asked on February 13, 2018 at 01:28 AM

    Hi, I was wondering put the checked choices in the Multiple choice (checkbox) form next to each other instead of having it showing each checked elements in new line  after submission?

    For example my restaurant submission looks like:


    Soft Drinks
    Bottled Water
    Wine by Request
    Scotch (Black Label)

    I want it to be like:


    Soft Drinks, Bottled Water, Beer, Wine by Request, Scotch (Black Label)

  • Profile Image
    Answered on February 13, 2018 at 05:36 AM

    I'm assuming you are referring to the emails you receive after submission. Sadly, this is the default way of presenting the options selected on a multiple choice field. They will be displayed one by one in each line.

    Is there any particular reason why you don't want that? Readability-wise, it's easier to read a list rather than a continuous array of items in one line.

    As a workaround, you can use the placeholder variables for each of the items in the options array.

    So, if you have the following on your email template:

    Beverages: {beverages}

    You can change this to:

    Beverages: {beverages:0}, {beverages:1}, {beverages:2}, {beverages:3}, {beverages:4}, {beverages:5}, {beverages:6}, {beverages:7}, {beverages:8}, {beverages:9}, {beverages:10}, {beverages:11}

    (the count starts from 0 to 11 since you have 12 options in total, including the other checkbox)

    The only downside here is that you will get extra commas in place if there are unselected options within the multiple choice field. If the ultimate goal is to have them shown in a single line as opposed to multiple lines, then removing the commas should also work.

    Beverages: {beverages:0} {beverages:1} {beverages:2} {beverages:3} {beverages:4} {beverages:5} {beverages:6} {beverages:7} {beverages:8} {beverages:9} {beverages:10} {beverages:11}

    Related guides:



  • Profile Image
    Answered on February 13, 2018 at 06:43 AM
    Thanks a lot, that was really helpful.