• Resolved iAndrew

    (@iandrew)


    Greetings!

    I updated the Constant Contact plugin to the latest version 1.4.2. However, when I am on the contact page with Contact Form 7 with recaptcha enabled, the submit button is spinning. The submit button only spins on the contact page with recaptcha enabled. If I remove the recaptcha the submit button does not spin.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Constant Contact

    (@constantcontact)

    Hi @iandrew

    Looks like this is a small usecase that didn’t come to mind for us when we were working out some bugfixes in 1.4.2. Specifically the use of reCAPTCHA on other forms shown on the same page.

    Part of the 1.4.2 release is detecting if Google reCAPTCHA is on the page, and if it is, disabling our submit button. However, we were intending for it to also be attached to our form, not a different form elsewhere. Once a visitor to the page validated themselves, the button would be enabled. The issue that was aiming to be solved was that you could still submit to the form without validating yourself, if the form had a custom redirect. We were also hoping it’d help prevent some extra spam that was getting through that we didn’t realize previously

    Here’s where the spinning button detail comes in. If our settings had the reCAPTCHA api keys saved to them, then it would append a “has-recaptcha” to the form, and the disabled button would be normal instead of some custom graphic we added previously to help indicate activity. We wager you don’t have your keys saved there at the moment because of the use of reCAPTCHA in other forms, thus it’s getting a “no-repcatcha” class and not getting the normal disabled button behavior we intended. An unexpected rock and a hard place that I mentioned not anticipating at the start here.

    We don’t have an immediate solution to remedy this, but we have some quick leads that we’d love to explore to help address this potential situation. We’ll get back to you as soon as we can.

    Plugin Author Constant Contact

    (@constantcontact)

    Hi again iAndrew.

    Can you please give this version a test?

    https://www.dropbox.com/s/kn4um976li34zli/constant-contact-forms-recaptcha-hotfix.zip?dl=0

    We have tweaked the javascript a little bit to better target our form’s reCAPTCHA instance, if any exist. This should prevent the Contact Form 7 reCAPTCHA from disabling the Constant Contact Forms button.

    Thread Starter iAndrew

    (@iandrew)

    Hello Constant Contact –?

    I will install the hotfix plugin now. Stay tuned.

    Thank you.

    Thread Starter iAndrew

    (@iandrew)

    Update

    I added the hotfix plugin to the staging website and still experienced the spinning submit button.

    Have a look.

    https://natureofmassage.mtwpsandbox.com/contact/

    Plugin Author Constant Contact

    (@constantcontact)

    Can you make sure to clear your cache for your browser? I’m not seeing the issue on that mtwpsandbox.com url. I have also confirmed that the javascript changes we made earlier are present in the appropriate files.

    https://cloudup.com/cxX2oQ56zuy

    Thread Starter iAndrew

    (@iandrew)

    You’re correct –?clearing the cache resolved the issue.

    In case anyone else runs into the issue. The hotfix plugin provided in the comment (https://www.ads-software.com/support/topic/submit-button-spinning/#post-10834591) resolved my Submit button spinning issue. Chances are there will be a code update in the future for the plugin itself.

    Thank you for the speedy fix!

    Plugin Author Constant Contact

    (@constantcontact)

    Awesome for the confirmation and willingness to help us address the issue.

    We will strive to have this released to everyone in the near future.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Submit Button Spinning’ is closed to new replies.