I could create duplicated field below the existing field by following the sample 1. I also can create a custom validation for the field by following the sample 2.
However, if I duplicate the field for a few times, any validation error message returned would be shown on all duplicated fields too. Do you have any suggestions to handle the validation for dynamic added field?