• Resolved agentjimmy

    (@agentjimmy)


    Hello,

    One of our customers is experiencing an issue with the form’s “Sign Up” button, it is disabled on their website. It looks like it may be related to the recaptcha based on the dev tools messaging.

    We have attempted to resolve the issue by disabling all plugins on their site, reverting to the default wordpress theme and creating/inserting a new form. I am at a loss as to what to try next and was referred here by my team. Please let me know what we can have this customer try next or if you have see this before. Thank you so much for your time!

    Here is a screenshot of the dev tools: https://www.screencast.com/t/lvXdlsYy6MP
    URL: https://rapidtool.com.au/contact/

    Brianna Norwood
    Constant Contact

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

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

    (@constantcontact)

    Checking on some things, will get back to you again shortly

    Plugin Author Constant Contact

    (@constantcontact)

    Looks like some small amounts of javascript that reCAPTCHA relies on isn’t getting loaded like expected, and it’s not allowing for it to re-enable the button.

    Specifically, it seems that your site is dequeuing the WordPress core copy of jQuery, and loading its own. Because of that though, we’re missing a dependency.

    So, are you confident in your ability to copy/paste code into a proper location? or would you prefer a quick hotfix plugin?

    The code we hope will fix this is below, which is a match of what we have intended, but with a different dependency for the moment. We would address this in a future release as well, so this is meant to be temporary only.

    function ctct_support_enqueue_scripts() {
    	wp_add_inline_script( 'ctct_frontend_forms', 'function ctctEnableBtn(){ jQuery( "#ctct-submitted" ).attr( "disabled", false ); }function ctctDisableBtn(){ jQuery( "#ctct-submitted" ).attr( "disabled", "disabled" ); }' );
    }
    add_action( 'wp_enqueue_scripts', 'ctct_support_enqueue_scripts' );
    
    Thread Starter agentjimmy

    (@agentjimmy)

    Thank you for your response, I would be unable to input this for the customer I am working with, but I can certainly relay instructions over. If a hotfix plugin would be easier for them, let’s go with that. Just let me know what I need to do!

    Plugin Author Constant Contact

    (@constantcontact)

    Probably easiest to go the plugin route really.

    Give this a whirl https://www.dropbox.com/s/d0xvus76zkshpce/constant-contact-hotfix.zip?dl=0

    Thread Starter agentjimmy

    (@agentjimmy)

    Thank you, that resolved the issue!

    Plugin Author Constant Contact

    (@constantcontact)

    Awesome, and we’ll be getting a proper fix in to the plugin as well, so this is just a temporary additional plugin to help out.

    Thanks.

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

The topic ‘Send Button Disabled’ is closed to new replies.