I am unable to enforce unique values based on more than one column in list.
Current scenario: I can make a enforce unique values entered in single column unique using OOTB functionality.
What I want to do: I have two column in a list. I want to assure the combination of values from both these columns is be unique. for Example:
Item 1: column1 = "T1"
and column2 = "abc"
Item 2: column1 = "T1"
and column2 = "cde"
Item 3: column1 = "T1"
and column2 = "abc"
For item 3, user should be prompted with a validation and should not be allowed to enter this combination.
What approach should I use?