Contact Form Not Submitting with Recaptcha
-
There appears to be an issue with Contact From 7 (version 6.0.2) and Recaptcha Integration. With the integration added, the form both does not submit and also provides no feedback. The error reported in the console is:
index.js?ver=6.0.2:1 TypeError: Cannot set properties of null (setting 'innerText')
at d (index.js?ver=6.0.2:1:7078)
at index.js?ver=6.0.2:1:6826
at c.reduceRight.url (index.js?ver=6.0.2:1:1138)
at index.js?ver=6.0.2:1:7878
at c.reduceRight.url (index.js?ver=6.0.2:1:1138)
at r (index.js?ver=6.0.2:1:1952)
at p (index.js?ver=6.0.2:1:5933)
at index.js?ver=6.0.2:1:429The aforementioned line reads:
e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText = "",
It appears to be trying to set the value of the querySelector which is returning null in some cases and breaking the form. I can have added optional chaining as a quick fix for this in the interim.
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.