Title: Trouble with Gravity Forms
Last modified: July 8, 2021

---

# Trouble with Gravity Forms

 *  Resolved [rscarter1](https://wordpress.org/support/users/rscarter1/)
 * (@rscarter1)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/trouble-with-gravity-forms/)
 * Great plugin, truly. Thanks!
    On our forms pages which are multi-page Gravity
   forms, the forms are not functional when switched to Spanish – you can’t get 
   to the next page. Any ideas/tips? Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftrouble-with-gravity-forms%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/trouble-with-gravity-forms/#post-14697049)
 * Hi,
 * I have checked and here is what I have noticed:
 * When on original page the HTML code for Begin/Next/Previous buttons looks like
   this:
 *     ```
       <div class="gform_page_footer top_label">
           <input type="button" id="gform_previous_button_11_12" class="gform_previous_button button" value="Previous">
           <input type="button" id="gform_next_button_11_12" class="gform_next_button button" value="Next"> 
       </div>
       ```
   
 * After translation it becomes this:
 *     ```
       <div class="gform_page_footer top_label">
           <font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><input type="button" id="gform_previous_button_11_12" class="gform_previous_button button" value="Anterior "></font></font>
           <font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><input type="button" id="gform_next_button_11_12" class="gform_next_button button" value="Siguiente"></font></font> 
       </div>
       ```
   
 * Please note the extra font tags.
 * However the event listeners for the button clicks are setup in a way that they
   do not expect the extra font tags and that is why it does not work:
 * /wp-content/plugins/codemonkeys-hipaa-forms/js/script.js – check the code below
   comment /*** OVER-RIDE GRAVITY PREVIOUS/NEXT BUTTONS TO SHOW/HIDE INSTEAD OF 
   RELOAD PAGE, DEFAULT FORM SUBMIT TO SELF ISN’T PROTECTED & NOT COMPLIANT! ***/
 *     ```
       jQuery(document).on('click', '.gform_previous_button, .gform_next_button', function(e) {
               var form = jQuery(this).closest('form');
               var formId = form.attr('id');
               var thisPage = jQuery(this).parent().parent();
               var pages = form.find('.gform_page');
               var pbPercent = Math.floor(100 / pages.length);
               var progressBarTitle = form.find('.gf_progressbar_title');
               var progressBar = form.find('.gf_progressbar_percentage');
               var stepsWrapper = form.find('.gf_page_steps');
               var direction;
       ...
       ```
   
 * I see problems with this line `var thisPage = jQuery(this).parent().parent();`
 * It seems to be an extra plugin you use on top of Gravity.
 * You may contact the plugin developer and ask for a solution, so that event listeners
   are properly setup.
 * Alternatively you can use our paid version which does not use extra font tags:
   [https://gtranslate.io/#pricing](https://gtranslate.io/#pricing)
 * Thanks! 🙂
    -  This reply was modified 4 years, 10 months ago by [edo888](https://wordpress.org/support/users/edo888/).

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/google-language-translator/assets/icon-256x256.png?rev=3007649)
 * [Translate WordPress - Google Language Translator](https://wordpress.org/plugins/google-language-translator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-language-translator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-language-translator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-language-translator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-language-translator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-language-translator/reviews/)

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [forms](https://wordpress.org/support/topic-tag/forms/)
 * [gravity](https://wordpress.org/support/topic-tag/gravity/)

 * 1 reply
 * 2 participants
 * Last reply from: [edo888](https://wordpress.org/support/users/edo888/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/trouble-with-gravity-forms/#post-14697049)
 * Status: resolved