Created
November 20, 2021 19:20
-
-
Save chrisegg/0b721cb11825343d9cc5ee810299c6c7 to your computer and use it in GitHub Desktop.
This snippet will support auto advancing pages in multi-page form for radio button and drop down field types. Full tutorial here: https://gravityranger.com/how-to-build-a-conversational-form-in-gravity-forms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
jQuery(document).ready(function($) { | |
$('input[type=radio], select').on('change', function() { | |
$(this).closest("form").submit(); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment