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.

State dropdown to conditional School dropdown. How can I set this up?

  1. Hey guys. I'm trying to create two dropdowns, with one being conditional on the selection of the first one.

    I'd like someone to be able to select a state, then based on their selection, I'd like the second dropdown to allow them to chose a school. Any suggestions on how best to do this?

    Thanks!
    Jason

    Posted 12 years ago on Tuesday January 10, 2012 | Permalink
  2. Sounds like you need to use something like this:
    http://www.9lessons.info/2010/08/dynamic-dependent-select-box-using.html

    It's not a feature that is built in to Gravity Forms, but it can be accomplished with some jQuery.

    Posted 12 years ago on Wednesday January 11, 2012 | Permalink
  3. Thanks Chris,
    I started doing it in the form Gravity forms using the conditional logic option. When a state is selected, it will show that states schools in a new dropdown.

    For some reason though, I can no longer save updates or add any more options and I've only gotten to "Delaware" on my alphabetical list. I can't update the forms or figure out how to move forward. Any ideas?

    Thanks!

    Posted 12 years ago on Friday January 13, 2012 | Permalink
  4. Could be a PHP memory issue, we have seen that happen for forms where someone suddenly can no longer update their form. You may need to increase the memory limit:

    http://www.nerdgrind.com/increase-wordpress-and-php-memory-limit/

    Posted 12 years ago on Friday January 13, 2012 | Permalink
  5. That worked, but unfortunately we can't see the form now in preview or on the page. If I test an form that's not conditional it works fine, yet conditional forms simply yield a completely white page. Any ideas what could be causing that?

    Posted 12 years ago on Friday January 13, 2012 | Permalink
  6. Awesome, half way there! Did you happen to test for theme or plugin conflicts yet?

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 12 years ago on Saturday January 14, 2012 | Permalink