• Resolved supervinnie41

    (@supervinnie41)


    Hi,

    I have a few checkboxes in my form. And it happens often that people select several items. At the end they can email the form to themselves. Those multiple selections are shown in the mail as “option 1, option 2, option 3, option 4” etc.

    I have found a way to insert a linebreak, but then I get:

    Option 1
    , option 2
    , option 3
    , option 4

    Isn’t there a way to simply skip the comma, and put all selected items in a new line. Maybe just by adding <br/> at the end of each lin? (except the last item, the last item never needs the line break.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @supervinnie41

    Thank you very much for using our plugin. In today’s plugin update, you can decide the separator symbol to use. It does not require you to enter the <BR> tags as part of the choices’ texts.

    For example, assuming the checkbox field is the fielname123, and you want to use the colon symbol (:) as the separator between the field’s label and choices, and the <br> tag as the separator between choices to display each of them in a different link, you can insert the field’s tag in the notification email as follows:

    <%fieldname123 separator={{: }} choices_separator={{<br>}}%>

    Best regards.

    Thread Starter supervinnie41

    (@supervinnie41)

    One of those fields is Fieldname24, and I copied your code in the email so it looks:

    <%fieldname24 separator={{: }} choices_separator={{ <br/>}}%>

    But that doesn’t work. The result is:

    Question written in the label: option 1, option 2, option 3, option 4 etc.

    Looking at the email that gets sent (via the Email log plugin) I can see that the line break is nowhere to be found.

    Also, I forgot to mention this previously. But I use the “Summary” field as well to show the visitor what the entered in the previous page. But is it possible that this also adds a line break after each chosen option? Because I don’t see any option for this.

    Btw is use the professional version (if that makes a difference). Version 5.8.108

    Plugin Author codepeople

    (@codepeople)

    Hello @supervinnie41

    You don’t have installed the latest plugin update.

    Please note we are not allowed to support any customers in these forums, and the plugin versions 5.8.x correspond to the Professional ones.

    For pro or commercial product support please contact us directly on our site.

    Commercial products are not supported in these forums. We will happily answer this and any other questions you can have on our own site.

    Thank you.

    Thread Starter supervinnie41

    (@supervinnie41)

    Thanks for the subtle hint.

    I wasn’t aware of the update. WordPress didn’t give me a notice, but after a few times “checking for updates” I finally got the notice. Latest update has been done.

    Now your solution is working. Awesome. When it comes to the e-mail, this is exactly what I wanted.

    Now only the Summary field left to do. But I would need to contact you via one of your links.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.