Confused about Validation rules! help!

ltempest 11 Jan, 2021
1 Likes
Hello,
I have a simple text field on my form that allows someone to enter their name. We are receiving a lot of spam through the form, even though Google Recaptcha is setup.

However, the spammer always seems to enter the same name into the text field.

I have tried to add a validation rule to the input box, but this then fails every name that is entered. Please see the screenshot which shows my rule, I have converted the name to XXXX for security!

your_name/match[XXXXXX] :This name is not allowed


What have I done incorrectly?



Confused about Validation rules! help! image 1
Max_admin 15 Jan, 2021
Answer
For this situation I would suggest you use v7 for this form and setup a custom rule, where you can define a PHP function to test the value and show an error!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger