• Resolved SaraParkin

    (@saraparkin)


    Hi,

    For some reason the {{label(productID)}} for the email message is not working with check boxes.

    When the box is ticked I would like the label of the check box to be shown in the email that is being sent. If it is not ticked I would like it not to show.

    I do not want the value of the checked box to appear as this is a cost for a calculation.

    Is there a way to do this please?

    Thanks.

    http://wordpress.org/plugins/jazzy-forms/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jazzigor

    (@jazzigor)

    Hi Sara,

    good point! The LABEL function has only been designed for Radio Buttons and Drop-down Menus. But at first sight it would make sense to extend it to other elements, like checkboxes, too.

    I guess what you expect is to insert the product title if selected and an empty/no text otherwise, correct? A work-around for this is {{IF(productId, "Product Title", "")}}.

    I hope this is not too tedious for your use case.

    Igor

    Thread Starter SaraParkin

    (@saraparkin)

    Hi Igor,

    This worked great thank you. I have another queery but its on another topic so I will create another log.

    Sara

    Plugin Author jazzigor

    (@jazzigor)

    Once again, thank you for your suggestion. Since version 1.1 the LABEL function is also defined for checkboxes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘{{label(productID)}} for email message not working with check boxes’ is closed to new replies.