Wait for Population Before Submitting When Enter Key Pressed
By default, the form is immediately submitted after the Enter key is pressed. This means if the field triggers dynamic population of other fields via Populate Anything, that population will not occur before the form is submitted.
This snippet allows to to specify trigger fields that should wait for Populate Anything to finish populating before allowing the Enter-keypress-triggered submission from continuing.
Instructions
Install this snippet with our free Custom JavaScript plugin. https://gravitywiz.com/gravity-forms-code-chest/
Add “gppa-wait-for-pop” to the CSS Class Name setting for field that will trigger the population.
Code
Filename: gppa-wait-for-population-on-enter-press.js