Hello,
I need to develop a form for a customer that has an image identifier to type in. He says he gets too much spam on his current form. How do you do this?

Dani AI

Generated

A reliable approach for combines a maintained challenge service with lightweight, server-side checks. As noted, pick the solution based on expected traffic, privacy needs, and acceptable user friction. For low development overhead use a well-supported provider such as Google reCAPTCHA or hCaptcha (they handle updates and audio alternatives). If full control is required, a self-hosted image challenge is possible but needs ongoing tuning and an accessible fallback to meet WCAG guidelines.

Practical checklist to implement and tune the form: integrate the chosen widget and perform backend verification; make challenge tokens short-lived and single-use; add unobtrusive layers (hidden honeypot field, minimum-completion-time check, and rate limits); log and monitor failed attempts to adjust thresholds; provide an audio/alternative path for accessibility and a clear recovery for legitimate users. This expands on ’s and ’s pointers while avoiding brittle, one-off solutions: start with a hosted provider for immediate protection, then add honeypot and rate-limiting to reduce user friction and false positives.

Recommended Answers

All 3 Replies

You need to provide better description than the general reguest you submited in first place. Elaborate on requirements...

He means those things where you have to type in the letters visible in an image to validate the submission.

This requires a server-side script.

commented: You correct, somehow I overlooked the problem :) +8
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.