Validation used as a minor anti spam?

Nineve 17 Jul, 2008
Hello,
I set up a few validation fields in my form such as a phone number has to contain numbers, etc. thinking that in a small way this would prevent spam bots from using the form. But it turns out that they don't have to put numbers in the field.

Is the validation meant to control important input values by preventing them from submitting the form if it's not correct OR is it just a gentle reminder to people that they may have messed up?


:blink:

If it is the first then I obviously have something set up incorrectly. If it's the later then it seems like nothing so much as an annoyance.:dry:
Max_admin 19 Jul, 2008
Hi,

Of course SPAM bots will not care about your JS validation because they can simply block js or whatever, use CAPTCHA Anti spam to help you against this!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 21 Jul, 2008
Hi Nineve,

I'm with Max here - only use validation to make sure that genuine users submit 'good' data. Use as little as you can because it's a task that will stop some people submitting the form. "If in doubt - don't" is a good rule here.

Captcha - is a fair first line of defence against spammers. It's not highly effective but and will not stop determined spammers but it's good enough for most forms.

Bob
This topic is locked and no more replies can be posted.