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.

Multi page form needs dynamic content based on starting page drop down selection

  1. I have a multi page form that needs to grab some dynamic content.

    Here is my scenario:
    Page 1 -
    drop down field.
    Page 2 -
    query dynamic content based on page 1 drop down field.
    populate field value with dynamic content.
    Page 3 -
    Submit form

    I can get the dynamic content to populate the field value with no issues but I can't figure out how to pass the drop down field selection to my script when the user selects "next" on the form.

    Posted 12 years ago on Saturday October 6, 2012 | Permalink
  2. I think you can use the gform_page_loaded event:
    http://www.gravityhelp.com/documentation/page/Gform_page_loaded

    Posted 12 years ago on Monday October 8, 2012 | Permalink
  3. Okay, so use ajax to run my php script then pass the result back to the field value... do you have any code examples?

    Posted 12 years ago on Monday October 8, 2012 | Permalink
  4. I did not look for any specific code examples, but you can see how other members used this jQuery event by reading posts tagged gform_page_loaded:

    http://www.gravityhelp.com/forums/tags/gform_page_loaded

    Posted 12 years ago on Monday October 8, 2012 | Permalink