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.

dynamic dropdown on multi-page form

  1. Hi, I have created a form with (a.o.) two dropdowns, where the options in the second dropdown are dependant on the chosen value of the previous dropdown. I've used this code as an example:
    http://www.gravityhelp.com/forums/topic/dynamic-ajax-category-child-dropdown
    The second dropdown gets populated nicely and all goes well on a 1-page form.
    But when someone fails to fill in a required field, upon validation the second dropdown empties and the values are forgotten.
    The same happens on a multipage form, when I go to the second page and back, the dropdown's values are gone. They won't appear on the confirmation screen as well.
    What am I missing and how can I solve this problem?
    Thanks for the help!

    Posted 11 years ago on Thursday July 11, 2013 | Permalink
  2. Try adding the following line on line 055 of your script: jQuery('#input_2_28').change();

    (I'm sure you know to change/update that input ID as necessary.)

    Posted 11 years ago on Thursday July 11, 2013 | Permalink
  3. Unfortunately that didn't work.
    Apparently the form can't handle a value that's higher than the pre-defined values in the form-editor

    Posted 11 years ago on Friday July 12, 2013 | Permalink
  4. Richard Vav
    Administrator

    If you still require assistance with this please open a new support ticket or a priority support ticket if you are a developer license holder.

    Posted 11 years ago on Thursday July 25, 2013 | Permalink

This topic has been resolved and has been closed to new replies.