• Resolved max10110

    (@max10110)


    Hello Ninja Forms team!

    I was surprised to discover that when there are two or more identical Ninja Forms (with the same ID) on a page, reCAPTCHA v3 only works correctly for the first form.

    After conducting a brief investigation, I identified the issue inside the includes/Actions/Recaptcha.php file, on line 340. The get_field_id_hash method works correctly only with numerical IDs. However, when there are two forms on the same page, the second form is assigned an ID like “formId_1.” Due to the presence of “_1,” the get_field_id_hash method returns an incorrect value, causing validation to break and resulting in the error message: “Recaptcha validation failed. Please try again later

Viewing 1 replies (of 1 total)
  • Shaylee

    (@shayleehansen30)

    We encourage you to contact our Customer Success team directly so that we can gather more information and formally log this issue for further review by our development team.

    Your findings could help us enhance Ninja Forms for all users, ensuring that reCAPTCHA v3 functions flawlessly, regardless of the number of forms.

    Please reach out to our team at your earliest convenience, and we’ll be ready to assist you in resolving this as efficiently as possible. We’re committed to providing the best possible support and ensuring that Ninja Forms meets your needs effectively.

    Thank you once again for bringing this to our attention. We look forward to working with you to find a resolution.

Viewing 1 replies (of 1 total)
  • The topic ‘Recaptacha validation doesn’t work if the same form is used more than 1 on page’ is closed to new replies.