jQuery help binding a button
You can use jQuery to submit the form when your button is clicked, either add the following to your button onclick attribute or wrap it in a click handler ( .click() | jQuery API Documentation ) bound to your button
jQuery('#gform_13').submit();
backdrop... I have a wordpress site with gravity forms installed on the page I have a hidden form and want to submit the form when a CTA is clicked. currently my CTA is an image that redirects to a checkout page so I need to configure that image to submit the form by applying the above to it.
thanks
-
mikea12 -
Thanks
{{ DiscussionBoard.errors[9519783].message }} -
-
pinkwhale Banned-
Thanks - 1 reply
{{ DiscussionBoard.errors[9635171].message }}-
mikea12 -
Thanks
{{ DiscussionBoard.errors[9645156].message }} -
-