Validate two fields

BeHoh 03 Dec, 2020
Hi,
I have two textfields: „text_location“ and „text_name“. How can I create a validation rule preventing
that a user inserts the same data in both fields ?

Bernd
Max_admin 05 Dec, 2020
Answer
there is a validation rule for text fields called "different", you can use it, you need to supply the id of the other field!

Better use v7 as it has a fields selector!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
BeHoh 05 Dec, 2020
1 Likes
Im working on a v7 installation ;-)
Max_admin 08 Dec, 2020
so you can use the Different rule, it's in the Match validation behavior!
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.