Hi,
does anyone know how to create a unique id validation in an array?
i managed with the following:
if(!this.value) {
return true;
}
return this.root.personalDetails.idNumber.value != this.value;
but it only keeps the user from repeating the main id from the items. but how do i prevent the user from using the same id in other items in the same array?

Comments
4 comments