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 logic on form submit

  1. Hi. I know conditional shortcode works on a single form field but what if I had 10 yes or no questions which can use radio buttons or checkboxes and I wanted to create a conditional response based on how many yes answers the form receives.

    example: 1-5 yes responses = conditional response 1, 6-10 yes responses = conditional response 2

    I searched the forums prior to posting this and saw some more complicated stuff but was hoping that based on the fact that all my fields are yes/no, there might be a simpler solution.

    I'm guessing I'm going to have to code something and I know you guys don't do that here but can you at least point me in the right direction so I can get this started?

    Thanks!

    Posted 12 years ago on Saturday December 15, 2012 | Permalink
  2. How about this recent example:

    http://www.gravityhelp.com/forums/topic/automatic-notification-if-multiple-radio-buttons-selected#post-93500

    There is related code here: http://pastebin.com/nT1Hjftw

    Posted 12 years ago on Tuesday December 18, 2012 | Permalink