I am looking for opinions about how bulletproof could his captcha system be to avoid spam in a contact form.
The form submit goes through ajax.
- So I generate 2 random numbers with javascript.
- The sum of those numbers must be correct.
- On form submit, I validate the inputs and the sum.
- If all is correct, I send the form data and also both numbers with the result.
- At backend, the 3 numbers must be received and their sum must match, otherwise something went wrong.
The question is, is this system good enough to avoid spam bots? Any other idea is welcome too.
Note:
Please avoid to recommend the google captcha due the department boss doesn't want to implement it.