• Resolved tripatwhat

    (@tripatwhat)


    Hello,

    i have created simple html form for my client’s website. It has only one field and a submit button. We also need a reCaptcha, so i installed your plugin and added the recaptcha inside the form using:

    echo apply_filters( ‘gglcptch_display_recaptcha’, ” );

    Now comes the validation part. I would like recaptcha to be checked before the form is submitted. So, for example, user did not check the “I’m not the robot” checkbox and clicked the submit button. A message should come up on top of the form saying that captcha should be checked.

    In your documentation i see a PHP code that does the validation, but do i need to add it to a separate page, check there and redirect a user back to my page with form or add it to the page with form and then, on click, to reload the page for validation?

    Can the recaptcha validation be done on submit, using Javascript for example?

    I hope that you can help out.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for contacting us!

    “Can the recaptcha validation be done on submit, using Javascript for example?”

    This functionality is not available, but you can create custom functionality to validate your custom form with reCAPTCHA answer using AJAX.

    You can request a customization if you want, and provide all the details via our Help Center (https://support.bestwebsoft.com/).

    Let us know if you have any additional questions.

    Thread Starter tripatwhat

    (@tripatwhat)

    Ok, thank you for the answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Captcha check on submit click’ is closed to new replies.