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.

Conditional Results displayed or emailed

  1. Hi there
    We are very interested in Gravity Forms for our new website due to the Conditional logic. Mostly, we would like the results to either be a) displayed on the screen or b) emailed to the user with results that are conditional on the answers they have chosen. Is this possible?

    For example, questions like 1) what is your favorite food? a) apples b) candy c) lemons 2) what is your favorite snack? a) soda b) pretzels c) hamburger then if the person chooses 1-b and 2-a they will get a response: You seem to like sugar a lot.

    Is this possible?

    Posted 12 years ago on Thursday February 9, 2012 | Permalink
  2. Hi Carell,

    Unfortunately this isn't currently possible out of the box. Conditional notifications/confirmations are definitely a highly requested feature and something that we will definitely be adding; however, there is no current ETA.

    Posted 12 years ago on Wednesday February 15, 2012 | Permalink
  3. I have a client who has requested conditional responses based on what the user inputs in the form. Do you guys have any suggestions or workarounds for the time being? If I was to roll my own solution, can you give some insight on how it could be done?

    Posted 12 years ago on Tuesday June 5, 2012 | Permalink
  4. David Peralty

    You can use conditional shortcodes to add information to a standard letter based on what users select.

    [gravityforms action="conditional" merge_tag="{field:1}" condition="is" value="whatwasselected"]
    What you want to be shown
    [/gravityforms]

    Posted 12 years ago on Tuesday June 5, 2012 | Permalink
  5. Cool - It took me a second to figure out what you meant by this, but I got it to work with a little effort. Thanks!

    Posted 12 years ago on Tuesday June 5, 2012 | Permalink
  6. David Peralty

    Glad to hear it. It is a cool feature that everyone is still wrapping their minds around ;)

    Posted 12 years ago on Tuesday June 5, 2012 | Permalink
  7. I just saw this and have a similar use. Can you use multiple merge_tag conditionals in that shortcode? A client wants to ask multiple questions and then provide recommendations based on their answers.

    Posted 12 years ago on Wednesday July 25, 2012 | Permalink
  8. The conditionals cannot be combined in the short code. You can accomplish what you're looking to do, with the logic done in PHP in your theme's functions.php, but it's not currently possible from a merge tag/short code.

    Posted 12 years ago on Wednesday July 25, 2012 | Permalink