Skip to content

Commit b18ee75

Browse files
committed
gf-recalculate-of-image-wrapper-click.js: Added snippet to ensure calculations as soon as we click the image wrapper.
1 parent 5a34694 commit b18ee75

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

experimental/gf-recalculate-of-image-wrapper-click.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
/**
2-
* Gravity Perks // Gravity Forms // Recalculate on checkbox change
2+
* Gravity Perks // Gravity Forms // Trigger calculations on click of image for Image Choice
33
* https://gravitywiz.com/
44
*
5+
* This snippet is needed to work around a bug in Gravity Forms 2.9 where calculations are not
6+
* re-processed when the actual image of an Image Choice is clicked. It works fine if you click on
7+
* the label or the checkbox/radio itself.
8+
*
59
* Instructions:
610
*
711
* 1. Install this snippet with our free Custom JavaScript plugin.

0 commit comments

Comments
 (0)