• In my form I have checkboxes renderd as block: (span.wpcf7-list-item { display: block; }
    It works, my form is like this:
    Option 1
    Option 2
    Option 3
    Option 4

    In autorespond email checked options are sent in one row:
    …you checked: Option 2 Option4

    I want to show it in the same way, as it is on the form:
    … you checked:
    Option 2
    Option 4

    How can I do this?

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I tested with my gmail, and I used inline css in the Mail HTML section.

    <p style="width: 5em; word-wrap: break-word;">[checkbox-name]</p>

    Adjust width to your Options length, so that they could break nicely, per word. I wasn’t able to remove commas.

    Thread Starter komiko

    (@komiko)

    ckone, thank you. This trick works with gmail.
    The problem is, it doesn’t work with Outlook 2013. Outlook has some problem with “width” tag.

    I think investigating how inline CSS works for Outlook email client would be helpful to you, because I am not good at it ?? But, I believe that would be your solution.

    Instead of P you can try DIV. SPAN does not work for me at all. Or, better yet just TABLE the whole thing.

    Thread Starter komiko

    (@komiko)

    I will explore, how Outlook works. I am using Outlook. On the other hand, most of the visitors use other email client. Therefore your trick was very helpful for me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to show checkboxes as block in autorespond email’ is closed to new replies.