Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is amazing module, which can really help. Thank you.
I was looking around for all the documentation which exists, including the issues, and I couldn't find how to write a rule for "Unique values on multiple fields". What do I need to put in "Column" and what in "group name"?
Comments
Comment #1
g089h515r806 CreditAttribution: g089h515r806 commentedI have foget to write a doc for :
•Require at least one of several fields
•Equal values on multiple fields
•Unique values on multiple fields
The config is a little strange, you need config the same rule against each field instance, and make sure that they have the same "group name".
Comment #2
g089h515r806 CreditAttribution: g089h515r806 commentedI have wrote an document, http://drupal.org/node/1498400
Comment #3
shaisamuel CreditAttribution: shaisamuel commentedThanks.
Comment #4
g089h515r806 CreditAttribution: g089h515r806 commentedComment #5
nithinkolekar CreditAttribution: nithinkolekar commentedopening this issue again for clarification
"Unique values on multiple fields" is that mean we can't have duplicate values across multiple fields like this
1.
First name : John
Last Name : John
or
2.
First name + Last Name on one node != First name + Last Name on another node.
With configured as in the documentation.
Validation type 2 available in unique field but lack of support for VBO and only works when submitted via node form.
Reason I am asking about it (type 2) because there is no code in field_validation_unique_values_validator.inc that looking for already existing values from db(EFQ or any other method).
Also type 2 validation in not triggering with when submitted using node form not just VBO.
Please clarify on this.
Regards
Nithin