• Resolved peopleinside

    (@peopleinside)


    Hi, I hope your day is going well.
    I’m using Hestia theme, Forminator plugin to create forms and your plugin for cookies.

    As you can see in the page I linked on the topic (it is a contact page) there is a form with the ReCaptcha. To this form a snippet code has been added to alert the user if the page is refreshed or left with input not submitted.

    For be able to use the form you need accept cookies to show the ReCaptcha, this checks seems done by Forminator.

    As you can see a placeholder from your plugin ask to click to acept cookies, now if this is pressed the alert inform you that text can be loosed. Seems when user clicks the placeholder something in the form is edited, seems the place holder are immediately hidden or changed then the page try to refresh. As the script found something that change in the module alert the user that text can be loosed.

    If the user choose to stay in the page and not leave the page the issue is that the form still be locked and the placeholder no more showed. Page will be broken until someone never refresh it again manually.

    There is a way you can improve this to avoid that scenario? I mean… if the page need to be refreshed the placeholder should be not replaced, removed before the page reloads. I expect that if user choose to stay in the page the placeholder to accept cookie still be there and recaptcha still be not showed, if not why reload the page if you show the captcha before the page is reloaded?

    I don’t know if my request is clear.
    I don’t know if my request is clear.

    Scenario: the user find the form locked so click on the placeholder for accept cookies but an unexpected (from the user) alert is showed and inform changes to the form will be lost. This is the first issue created by your placeholder that once clicked pass to the snipped script I added that the module has been edited… the only edit was pressing the placeholder and immediately you hide the placeholder and show the captcha before the page is reloaded. Can be this avoided and done only on the complete page refresh?

    If user decide to stay on the page to check why that alert inform about the possibility to loose data will be unable to use the form, the captcha will be showed also if not in the correct way and the form will be disabled.

    Seems to be not a good workflow. Can be improved in some way?

    Video demonstration: https://app.screencast.com/BkKs85R54cnW6

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter peopleinside

    (@peopleinside)

    I’m trying to resolve issues with Forminator and the cookie for ReCaptcha but seems there are many issues.

    If the user never accept cookies the recaptcha cannot be showed so the form should be disabled. Accepting or refusing cookie refresh the page so usually text are loosed if typed in the form… this is why I asked to the form developers code for try to store field input and alert on page refresh… but seems the alert about possibility to loose text is always showed not only if input has been made in the form.

    I think I need remove that snippet because is causing too much issues as I showed in the previous video. If user load the contact form page and change page the alert is showed. Also if the user choose to stay in the page with the cookie not accepted the recaptcha will be showed not correctly and no placeholder are showed anymore.

    I will remove that snippet as seems to be not usable there.

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @peopleinside,

    I see you’ve marked the thread as resolved, do you require our assistance at this time?

    The form being ‘locked’ as well as the alert being shown, is not behavior that Complianz adds to the site. The plugin only blocks the ReCaptcha before consent is obtained, and loads it after consent.

    If I understand correctly, you wish to prevent the situation where the user does not reload the page. You could apply the following snippet as a .php file in the /wp-content/mu-plugins/ folder, to force reload after obtaining consent: reload-after-consent.php

    The form-specific changes (such as (not) locking the fields) would likely have to be adjusted on the Forminator side.

    Kind regards, Jarno

    Thread Starter peopleinside

    (@peopleinside)

    @jarnovos thank you for your help.
    I consider this resolved as the issue is confirmed by you to be not made by compilanz.

    I removed the captcha block so set the recaptcha cookie as mandatory (essential). For now I will keep that settings.

    Thank you again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Captcha placeholder issue’ is closed to new replies.