• Resolved Maja

    (@hutamanama)


    Hi,

    is it possible to use conditions for e-mails only?

    My Example:

    I have form to order items and they just add quantity for every item.

    • Item 1: Qty = 0
    • Item 2: Qty = 3
    • Item 3: Qty = 0

    So, I want to have the whole list in form, but in email I want to show only those with quantity more than 0 (Item 2 only).

    Is this posible?

    Thank you,

    Maja

Viewing 1 replies (of 1 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Yes, you can create an empty group for each condition. Example: https://conditional-fields-cf7.bdwm.be/form-tester/?hash=d1eee1b3e164398618d0360e7176ff35

    Form:

    Item 1 amount: [number* item1 "0"]
    Item 2 amount: [number* item2 "0"]
    Item 3 amount: [number* item3 "0"]
    [group i1][/group]
    [group i2][/group]
    [group i3][/group]
    [submit]

    Conditions:

    show [i1] if [item1] not equals "0"
    show [i2] if [item2] not equals "0"
    show [i3] if [item3] not equals "0"

    E-mail:

    Ordered items:<br>
    [i1]Item 1: [item1]<br>[/i1]
    [i2]Item 2: [item2]<br>[/i2]
    [i3]Item 3: [item3]<br>[/i3]

Viewing 1 replies (of 1 total)
  • The topic ‘Condition fields only for email’ is closed to new replies.