How to integrate Captcha

We have create a web form in which a person can enter data to book an appointment.

But we are receiving lots of spam bookings.

So in this appointment booking web form we want to add support for Captcha.

How to do that?

Is there any build in Captcha feature offered in Frappe Framework?

Does anyone have an answer for this question?

I have found this thread: Integrate Captcha for Signup, Contact Us etc and this: [Guide] Adding Recaptcha V3 to Frappe Web Page Forms

So the answer to the Question if there is a Captcha-Feature from Frappe seems to be No?

You can get pretty far by adding a small custom script that calls Google reCAPTCHA on form submit and then verifies the token with a simple server side method in Frappe. I’ve done this on a couple of public forms and it played nice without much fuss. Those threads Benema shared are solid starting points, and you can pretty much copy the pattern and tweak it for your appointment form.

1 Like

The problem with most captchas (like Googles) is that they collect / store user data. In Europe it’s always better to not integrate services like that.

We ended up creating our own simple proof of work captcha. If anyone read this thread and is interested, you can PM me. Maybe we could open source it and make a small Frappe App.