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.

Multiple Conditions - Notifications

  1. philbs777
    Member

    Hi there

    I am trying to use 2 conditional statements for one peice of information in an email notification, but it ignores the second condition. Is it possible to do?

    [gravityforms action="conditional" merge_tag="{Do you require a hotel room for the night?:27}" condition="is" value="Yes"][gravityforms action="conditional" merge_tag="{Are you attending the lunch?:28}" condition="is" value="Yes"]Transfers to Viaduct Lunch 10:30am – 11:00am
    [/gravityforms][/gravityforms]
    Posted 11 years ago on Monday February 25, 2013 | Permalink
  2. You cannot currently use nested conditional shortcodes.

    Posted 11 years ago on Monday February 25, 2013 | Permalink
  3. philbs777
    Member

    I have found a way around this for anyone that is interested. You can put multiple conditional queries in fields. So add the multiple conditional query to a field, tick show only for admin on the field settings, and then test for that in the email notification using conditional shortcode. Works perfectly.

    Posted 11 years ago on Sunday March 3, 2013 | Permalink
  4. That's a good way to do it. The conditional logic in the form is more robust than that which is allowed for the conditional shortcode, or even the opt-in condition for some add-on feeds Nice work around: thank you.

    Posted 11 years ago on Tuesday March 5, 2013 | Permalink