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

g089h515r806’s picture

I 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".

g089h515r806’s picture

I have wrote an document, http://drupal.org/node/1498400

shaisamuel’s picture

Thanks.

g089h515r806’s picture

Status: Active » Closed (fixed)
nithinkolekar’s picture

Issue summary: View changes
Status: Closed (fixed) » Active

opening 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