Title: Problem with Gravity Forms
Last modified: March 27, 2025

---

# Problem with Gravity Forms

 *  Resolved Anonymous User
 * (@anonymized-13781684)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/)
 * Hi,
 * When I use the code example from this page under ‘1. Change input to button’,
   hCaptcha stops working, and the Gravity submit button doesn’t display correctly.
   If I turn hCaptcha off it amends the submit button sucessfully.
   [https://docs.gravityforms.com/gform_submit_button/](https://docs.gravityforms.com/gform_submit_button/)
 * Please can you take a look?
 * Thanks

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Contributor [kaggdesign](https://wordpress.org/support/users/kaggdesign/)
 * (@kaggdesign)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/#post-18386892)
 * Hi @jamessui-1
 * I was unable to reproduce the issue. Can you show the page which has a problem
   with the “Change input to button” snippet? Thanks.
 *  Thread Starter Anonymous User
 * (@anonymized-13781684)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/#post-18388141)
 * I can’t provide a link as the site is under NDA – are you using the latest 2.9.5.2
   version of Gravity Forms?
 *  Plugin Contributor [kaggdesign](https://wordpress.org/support/users/kaggdesign/)
 * (@kaggdesign)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/#post-18389122)
 * I do not have 2.9.5.2, only 2.9.5. but I believe it is not a reason why I cannot
   reproduce the issue.
 * To help, I need to know more information. At least, System Info from the hCaptcha
   admin page. Also, I have to understand where and how you insert the snippet you
   mentioned. The bug may be in the wrong implementation of the snippet.
 * If you have any concerns, you can send this info to my email [info@kagg.eu](https://wordpress.org/support/topic/problem-with-gravity-forms-4/info@kagg.eu?output_format=md).
   Without the additional information it is impossible to guess what is going on
   on your site.
 *  Anonymous User
 * (@anonymized-10105174)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/#post-18389341)
 * Can you try with 2.9.5.1 – I believe this is the relevant change that has broken
   it:
    - Fixed an issue where the form submits or the next page is displayed if the
      previous button does not include the gform_previous_button class when clicked.
      Note: When using filters like gform_submit_button, gform_next_button, or gform_previous_button
      to replace the input elements with button elements, make sure to keep the 
      attributes from the original elements. [Example code](https://docs.gravityforms.com/gform_submit_button/#h-1-change-input-to-button).
 *  Plugin Contributor [kaggdesign](https://wordpress.org/support/users/kaggdesign/)
 * (@kaggdesign)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/#post-18389400)
 * I do not have subscription to Gravity Forms – it is a premium product. So, if
   you want me to test hCaptcha with GF 2.9.5.2, kindly share a zip file to my email
   [info@kagg.eu](https://wordpress.org/support/topic/problem-with-gravity-forms-4/info@kagg.eu?output_format=md).
 *  Plugin Contributor [kaggdesign](https://wordpress.org/support/users/kaggdesign/)
 * (@kaggdesign)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/#post-18390227)
 * Thank you for sharing the latest version of GF. I see no issues with it either.
   With the snippet, input is changed to button (and this code works for older version
   of GF, too). Form is not broken, hCaptcha is in place and works.
 * Could you create a test website with the minimal example: fresh WordPress, just
   GF and hCaptcha plugins, snippet, and one GF form. Please send me a link to this
   test site, otherwise I do not know how to help.
 *  Plugin Contributor [kaggdesign](https://wordpress.org/support/users/kaggdesign/)
 * (@kaggdesign)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/#post-18392170)
 * Thank you for creating the test environment. I have understood and fixed issue
   on your site, please check and let me know if have any questions. The updated
   version of the plugin 4.12.0, will be released in a few days.
 *  Thread Starter Anonymous User
 * (@anonymized-13781684)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/#post-18393120)
 * Thanks for your help!
 *  Plugin Contributor [kaggdesign](https://wordpress.org/support/users/kaggdesign/)
 * (@kaggdesign)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/#post-18393631)
 * Thank you for confirmation of the fix. The updated version 4.12.0 is already 
   released.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Problem with Gravity Forms’ is closed to new replies.

 * ![](https://ps.w.org/hcaptcha-for-forms-and-more/assets/icon.svg?rev=3026321)
 * [hCaptcha for WP](https://wordpress.org/plugins/hcaptcha-for-forms-and-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hcaptcha-for-forms-and-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hcaptcha-for-forms-and-more/)
 * [Active Topics](https://wordpress.org/support/plugin/hcaptcha-for-forms-and-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hcaptcha-for-forms-and-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hcaptcha-for-forms-and-more/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [kaggdesign](https://wordpress.org/support/users/kaggdesign/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-gravity-forms-4/#post-18393631)
 * Status: resolved