hello I need to do the following. can someone help walk me through how to do it. I am fairly new to coding. 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 help binding a button
4
hello I need to do the following. can someone help walk me through how to do it. I am fairly new to coding.
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
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
- pinkwhale Banned
- [1] reply
- mikea12
Next Topics on Trending Feed
-
4