Support » Plugin: Contact Form 7 » labels imgs and email 2

  • Resolved clairefdez

    (@clairefdez)


    Hi guys,
    I can’t find the way to send via email2 the images I’ve added on labels checkboxes.
    On the form (so user can choose different products), I have this:
    <label><img src=”http://www.mydomain.com/product1.png” align=center>[checkbox checkbox-734 “Product 1”] </label>
    On the email2 (so user will recieve an email with the image of the selected product), I use this:
    [checkbox-734]
    I want people to see on an email the images they selected so I even think of using no ‘Product 1’ description, only ” for having the checkbox under the image.
    Is there a way for doing such a thing?
    Thanks!

    https://wordpress.org/plugins/contact-form-7/

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

    (@takayukister)

    You can use pipes for that.

    Change the form-tag to this:

    [checkbox checkbox-734 "Product 1|product1.png"]

    And change the mail-tag to this:

    <img src="http://www.mydomain.com/[checkbox-734]" />

    clairefdez

    (@clairefdez)

    It worked fine, thanks!

    clairefdez

    (@clairefdez)

    Sorry…
    It worked with a text before:
    [checkbox checkbox-734 “Product 1|product1.png”]

    But not with blank space (or &nbsp;), neither with no text:

    [checkbox checkbox-734 " |product1.png"]
    [checkbox checkbox-734 "&nbsp;|product1.png"]
    [checkbox checkbox-734 "|product1.png"]

    So must be a text there then or there is way to aboid it?
    Thanks!

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    There must be a text before pipe.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘labels imgs and email 2’ is closed to new replies.