phpgravityforms

Populate dropdown field, Gravity forms


I'm using gravity forms with Gravitywiz nested forms. I have a parent form with two child forms in it. I need to populate a dropdown of the second child form based on the user's inputs in the first child form. The issue is the second form dropdown will not be automatically updated, and I need to refresh the page to see new entries.


Solution

  • This comes from the Gravity Wiz folks:

    "You can use Populate Anything and the Temporary Parent Entry ID for this.

    Here's a video demo of how to set it up and how it would work. https://www.loom.com/share/dff30eec9a174f20ba120ab11280b132

    Here's a link to the snippet: https://github.com/gravitywiz/snippet-library/blob/master/gp-nested-forms/gpnf-populate-parent-entry-id.php"