We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gprf-instant-reload.js
1 parent 71e486e commit 21f3f3aCopy full SHA for 21f3f3a
gp-reload-form/gprf-instant-reload.js
@@ -0,0 +1,14 @@
1
+/**
2
+ * Gravity Perks // Reload Form // Instant Reload
3
+ * https://gravitywiz.com/documentation/gravity-forms-reload-form/
4
+ *
5
+ * Instantly reload the form without any delay as soon as the confirmation is rendered.
6
7
+ * Instructions:
8
9
+ * 1. Install this snippet with our free Custom JavaScript plugin.
10
+ * https://gravitywiz.com/gravity-forms-custom-javascript/
11
+ */
12
+$( document ).bind( 'gform_confirmation_loaded', function( event, formId ) {
13
+ $( '#gform_confirmation_wrapper_GFFORMID' ).parent().data( 'gwrf_GFFORMID' ).reloadForm();
14
+} );
0 commit comments