Support » Plugin: Caldera Forms - More Than Contact Forms » Form notification – conditions?

  • Resolved YukiAme83


    I’ve only tried your plugin today, and I’m already spoiled for any other form builder that may come my way. Brilliant!

    Here is a small question:
    I have a checkbox in my form, and I would like to know if the person checked it. However, if I simply include the magic tag in notification, and the box is left unchecked, the message shows the magic tag code… Is there a way to only show this item if it’s checked?

    P.S. While I was playing with this option, I’ve come across an interesting thing: if I checked the box, then clicked on it again, removing the sign before clicking Submit, the notification (and the entry in the plugin) still showed me that the checkbox was checked…

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor David Cramer


    Hi There, thanks for the compliment!

    The plugin is still new so there are a few issues here and there, but I’m getting them sorted.

    There are a few issues with the magic tags in the current version but they are being addressed in the update. Specifically with checkboxes. hence the issue you mention.

    The update is coming soon. If you want to try the update now, take a look at the Github repo the 1.0.x branch has the latest version, but is updated frequently so check back often if you find problems.

    I am adding in tag code that allows you to show parts of the message depending on options. sort of a conditional login for the message.
    It will be simply [if slug] value: %slug% [else] not selected [/if]

    There is also an paid addon coming soon to allow conditional mailer recipients. This allows the mailer to go to separate recipients depending on options the sender set.

    Plugin Contributor David Cramer


    I have just pushed v1.0.5 which corrects the problem and includes the [if] conditional tags.

    David, thanks a lot for your rapid response, and wow, what a quick update! The condition works like a charm.

    I’m sorry if I sounded like I was complaining – far from it! I saw that the plugin was new, and thought I’d let you know if there were some bugs, so you know and can tackle them at your convenience.

    There’re two more small things I’ve noticed – again as a suggestion only:
    – for a dropdown, the option “don’t select anything” needs to be added manually, which can be a bit awkward on occasion;
    – the phone field marked “required” sees a couple of digits as sufficient, despite the mask.

    Thank you for working on this great plugin!

    Plugin Contributor David Cramer


    I didn’t take it as complaining at all! I’m very thankful for all input.

    The dropdown had an issue with the No Default. Selecting this now creates a selected blank entry for you.

    I’ll take a look at the phone field.

    I would appreciate a rating if you feel up to writing one.

    Will do!

    Hi, David – please could you explain the syntax of the conditionals a bit more? I’ve just tried it and it doesn’t seem to work. In my Auto Respnder message I’ve put the line:

    [if name3] value: %name3% [else] .. [/if] [if reqs3] – %reqs3% [else] .. [/if] [if child3] – %child3% [else] .. [/if]

    – but when the email is generated that line just appears verbatim in it. name3, reqs3 and child3 are all text fields that have been left empty.

    I’m on version 1.1.1.

    Many thanks


    Plugin Contributor David Cramer


    That syntax looks correct. I’ll take a look at it and see if I didn’t break something again.

    Thanks very much!
    I’m filling in the form in Preview mode, if that matters.

    If the slug does have a value, it is substituted correctly. The conditionals tags just seem to be ignored completely.

    For example if I include this line in my auto-responder:

    [if name2] Second person: %name2% [else] No second person [/if]

    then if the name2 field is filled in with “Bob”, the resulting email contains the line:

    [if name2] Second person: Bob [else] No second person [/if]

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Form notification – conditions?’ is closed to new replies.