I need to create validation for list question for unique (description of persons).
I was trying to create macro but it doesnt work, do you have any idea how to do it?
for (var i = 0; i < List_osob.Length; i++)
if (List_osob.Count(x=>x.Item2 == List_osob[i].Item2)>1) return true;
See discussion here:
No need for a macro. You can simply use a regular validation condition expression at the respective question:
.ToUpper() element aims to make the list elements more comparable (all in upper case). You can also consider to remove any whitespace etc.
Hope that helps?