Skip to content

Commit b11a693

Browse files
saifsultancclaygriffiths
authored andcommitted
gw-prioritize-next-over-save-and-continue.js: Added a snippet to prevent the Save & Continue button from taking priority over Next buttons when pressing enter.
1 parent bf8ea20 commit b11a693

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* Gravity Wiz // Gravity Forms // Prioritize Next Button Over Save and Continue When Pressing Enter
3+
* https://gravitywiz.com/
4+
*
5+
* Instructions:
6+
* Install this snippet with our free Custom JavaScript plugin.
7+
* https://gravitywiz.com/gravity-forms-custom-javascript/
8+
*/
9+
$("#gform_GFFORMID")
10+
.find(".gform_save_link")
11+
.attr("type", "button");

0 commit comments

Comments
 (0)