Between 8:00 - 9:00 am ET on 10/25 we need to take our site down to make updates. We recommend logging out before 8:00am ET and not using your account during this time. Thank you for your patience while we make these important updates.

Error displayed in console when submitting

Participant

Error displayed in console when submitting

All.

 

I am receiving the following error when I submit my form and am wondering what it means:

Uncaught TypeError: o.complete is not a function
    at Object.h.Handlers.submitForm (submit_form.js:62)
    at callback (signup-form.js:73)
    at Tr.n.Md (recaptcha__en.js:401)
    at oo.<anonymous> (recaptcha__en.js:230)
    at oo.<anonymous> (recaptcha__en.js:230)
    at Ze (recaptcha__en.js:60)
    at Ve (recaptcha__en.js:60)
    at Te.b (recaptcha__en.js:57)

 

Any help would be greatly appreciated.

Rhys

3 REPLIES 3
Moderator

Hello @JulieH2841,

 

Thank you for reaching out to Constant Contact's API Support.

 

Those errors do not look familiar to our API or one of our prebuilt sign-up forms. Are you using a third party integration or a custom sign-up form?

 

The error that stands out is the one referring to the recaptcha. I would double check to make sure that has been implemented on the form correctly.

 

 


Regards,
Jimmy D.
Tier II API Support Engineer

Hi @Jimmy_D,

 

I am running into this error as well. It is a problem with the Constant Contact JavaScript that gets loaded to handle the sign-up form submission. The JavaScript checks if jQuery is already loaded on the page, and loads jQuery v2 if it's not. If jQuery v3 is already loaded, however, this error occurs. This is because jQuery v3 renamed the "complete" function to "always" -- see here: https://jquery.com/upgrade-guide/3.0/#ajax. Would it be possible for Constant Contact to update the code to support both versions of jQuery?

 

Thanks!

Hi @ColinM421,

 

Thank you for this information. I'll pass this along to our engineers and see what they can do with this.


Regards,
Jimmy D.
Tier II API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page