- Posts: 6
- Thank you received: 0
Two validation rules needed please
- oleg
- Topic Author
- Offline
- New Member
-
Less
More
22 hours 56 minutes ago #173833
by oleg
Two validation rules needed please was created by oleg
This message contains secure information
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
20 hours 5 minutes ago #173836
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Two validation rules needed please
Hi Alex
The two validation rules you asked are already supported
1. For prevent duplicate for a a field, edit that field, set Server Validation Rules to unique . Then check it again, it should work
2. For prevent field with certain words, please edit that field, set Server Validation Rules to notIn:Google,Apple (each word separated by comma). Then try it, it should work
Regards,
Tuan
The two validation rules you asked are already supported
1. For prevent duplicate for a a field, edit that field, set Server Validation Rules to unique . Then check it again, it should work
2. For prevent field with certain words, please edit that field, set Server Validation Rules to notIn:Google,Apple (each word separated by comma). Then try it, it should work
Regards,
Tuan
The following user(s) said Thank You: oleg
Please Log in or Create an account to join the conversation.
- oleg
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
19 hours 32 minutes ago - 19 hours 27 minutes ago #173837
by oleg
Replied by oleg on topic Two validation rules needed please
Thank you very much Tuan,
- is it possible to use both rules at the same time in one field?
Like:
unique,notIn:Google,Apple
It ist should be separated by camma?
- is it possible to use both rules at the same time in one field?
Like:
unique,notIn:Google,Apple
It ist should be separated by camma?
Last edit: 19 hours 27 minutes ago by oleg.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
19 hours 25 minutes ago #173838
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Two validation rules needed please
unique|notIn:Google,Apple
The rules are separated by | character
Tuan
The rules are separated by | character
Tuan
The following user(s) said Thank You: oleg
Please Log in or Create an account to join the conversation.
- oleg
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
19 hours 5 minutes ago #173839
by oleg
Replied by oleg on topic Two validation rules needed please
There is a problem:
It prevent only single-word Google, but it does not work with other text and numbers added after it:
for example:
Google:12344
- it is passed ok
Is there any solution for it?
Looking forward.
Thank you
It prevent only single-word Google, but it does not work with other text and numbers added after it:
for example:
Google:12344
- it is passed ok
Is there any solution for it?
Looking forward.
Thank you
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
18 hours 53 minutes ago #173840
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Two validation rules needed please
Unfortunately, there is no validation rule for that at the moment. I will see if I can support it in the future
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
18 hours 52 minutes ago #173841
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Two validation rules needed please
Or you can try to build custom validation rules yourself, see
docs.joomdonation.com/membershippro/basi...ld-custom-validators
for instructions
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.