PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to add only certain fields in notifications based on another field

  1. Alex Trup
    Member

    I have a long form that includes a tickbox for each field which says "Please tick if changed" with the value being something like "NameChanged" or "DateOfBirthChanged" for the Name and DateOfBirth fields respectively.

    At the moment, my notification emails simply have the tag:
    {all_fields}

    So everything gets submitted. But I would only like to receive the fields which have had their respective "Changed" checkboxes ticked.

    How can I do IF clauses in the notifications along the lines of something like:

    {if NameChanged=1}
    {Name}
    {/if}
    {if DateOfBirthChanges=1}
    {DateOfBirth}
    {/if}

    Thanks,

    Alex

    Posted 7 years ago on Saturday April 20, 2013 | Permalink
  2. Alex Trup
    Member

    I found this post which seems in principle to be what I need: http://www.gravityhelp.com/documentation/page/Shortcodes#Conditional_Shortcode

    Based on the page I did the following, but it doesn't seem to work, any idea what I am formatting wrong about this?

    [gravityforms action="conditional" merge_tag="{Checkbox:49.1}" condition="is" value="1"]
    The content I want to show
    [/gravityforms]

    Posted 7 years ago on Saturday April 20, 2013 | Permalink
  3. Handling via priority support.

    Posted 7 years ago on Tuesday April 30, 2013 | Permalink

This topic has been resolved and has been closed to new replies.