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.

Combining Conditional Logic with Dropdown List Fields

  1. I am looking to create a form that will use a List field (containing 5 columns) so that the user can add a maximum of 6 entries.

    The first two columns of the field will both be dropdowns, so I imagine I'll need to swap them like so?
    - http://www.gravityhelp.com/documentation/page/Gform_column_input

    However I also need to use Conditional Logic so that the values of the second dropdown are populated based on the selection from the first.

    I can't find a way to achieve this by default however, is this possible?

    Thanks.

    Posted 10 years ago on Tuesday June 18, 2013 | Permalink
  2. David Peralty

    There is no way without you custom coding your own AJAX to do it to have the drop down in a list field show different values based on a preceding drop down. There is no hook or other function currently in Gravity Forms that allows this, and changing as changing a list field input to a drop down is a bit of a hack already, a supported and documented hack, but a hack none the less.

    Posted 10 years ago on Thursday June 20, 2013 | Permalink
  3. Okay no problem, thanks for letting me know.

    I was thinking I may be able to get around it with jQuery in fact. Would I have classes / IDs applied to the fields that I could use as selectors for my own jQuery script to enable / disable the appropriate dropdowns based on the value of the first?

    Posted 10 years ago on Friday June 21, 2013 | Permalink