• Resolved shaunbowen

    (@shaunbowen)


    I have a form in a SiteOrigin Page Builder widget and the reCAPTCHA won’t display. It also breaks the pop-up form reCaptcha in the header. As soon as I remove the page builder from the page and show the form in the standard WordPress editor, the reCaptcha works again.

    The Chrome Inspector shows the following message: Uncaught Error: reCAPTCHA placeholder element must be an element or id

    • This topic was modified 6 years ago by shaunbowen.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi Shaun,

    Sorry for only reaching back to you now. Things have been rather busy, are you still experiencing issues with this?

    Please keep me posted, I am looking into this plugin over the next couple of weeks and an update should be released in early 2019.

    Thread Starter shaunbowen

    (@shaunbowen)

    Hi Andrew. Thanks for the reply, yes I am still experiencing this issue with Page Builder and the ReCaptcha.
    It’s some sort of problem with the IDs that get assigned to the form fields I think. They seem to change when in a Page Builder grid.

    Plugin Author Andrew Lima

    (@andrewza)

    Thanks for the feedback, I’ll try to recreate this and try get it out with the next update.

    Thread Starter shaunbowen

    (@shaunbowen)

    Hi Andrew, did you have any luck recreating this and adding a workaround to the next update?

    It looks like the recaptcha has a line like ‘init_recaptcha_fld_932913_1’ but the form is showing the recaptcha as ‘fld_932913_3’. The IDs don’t match so the field doesn’t show.

    • This reply was modified 5 years, 11 months ago by shaunbowen.
    Thread Starter shaunbowen

    (@shaunbowen)

    I have an update on what is possibly causing this issue. Maybe it will help with debugging.

    There is a strange behaviour that occurs when I activate Yoast SEO on any site with Caldera Forms and SiteOrigin Page Builder also installed.

    Ordinarily Caldera forms will give every instance of the form on a page a unique ID, appending _1, _2, _3 to the end according to how many times the form is embedded on a single page.

    Obviously most people will only put their contact form on a page once, so the ID will generally be #XXXXXXXX_1. However, when activating Yoast SEO, Caldera Forms thinks there are 3 instances of the form on the page and appends a _3 to the form ID.

    As soon as I deactivate Yoast, the form will return to an ID with _1 on the end. Your plugin will only work when I deactivate Yoast, as it seems to depend on the form IDs.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘reCAPTCHA doesn’t work with Page Builder’ is closed to new replies.