I just tested this with three fields all on the same group, but it does not prevent creating nodes with duplicate combos of those fields.

Comments

g089h515r806’s picture

Which field type that you used.
I onley test this validator with textfield.

rollingnet’s picture

Issue summary: View changes

I can confirm that the validation of uniquess on multiple fields doesn't work with 2 textfields + 1 entity reference field

I'm using the lasted dev build (as March, 10th 2014)

rollingnet’s picture

I'm using a entity reference and textfield and I can confirm that multiple field uniqueness check doesn't work.

rollingnet’s picture

I solved the uniqueness on multiple fields with Unique field module.
It works out the box.

nithinkolekar’s picture

Version: 7.x-2.3 » 7.x-2.x-dev

still not working with dev , hence changing the version.

klezer’s picture

+1

I get the following errors when entering the same data twice in the multiple fields (textfield)

Notice: Undefined variable: matched_entities in field_validation_unique_validator->validate() (line 100 of /src/sites/all/modules/contrib/field_validation/plugins/validator/field_validation_unique_validator.inc).
    
Warning: array_keys() expects parameter 1 to be array, null given in field_validation_unique_validator->validate() (line 100 of /src/sites/all/modules/contrib/field_validation/plugins/validator/field_validation_unique_validator.inc).
    
Warning: reset() expects parameter 1 to be array, null given in field_validation_unique_validator->validate() (line 101 of /src/sites/all/modules/contrib/field_validation/plugins/validator/field_validation_unique_validator.inc).
    
Warning: reset() expects parameter 1 to be array, null given in field_validation_unique_validator->validate() (line 102 of /src/sites/all/modules/contrib/field_validation/plugins/validator/field_validation_unique_validator.inc).
    
Warning: reset() expects parameter 1 to be array, null given in field_validation_unique_validator->validate() (line 103 of /src/sites/all/modules/contrib/field_validation/plugins/validator/field_validation_unique_validator.inc).
    
Notice: Undefined index: entity keys in field_validation_unique_validator->validate() (line 105 of /src/sites/all/modules/contrib/field_validation/plugins/validator/field_validation_unique_validator.inc).
    
Notice: Trying to get property of non-object in field_validation_unique_validator->validate() (line 106 of /src/sites/all/modules/contrib/field_validation/plugins/validator/field_validation_unique_validator.inc).
    
Notice: Undefined index: controller class in entity_get_controller() (line 7962 of /src/includes/common.inc).