How to validate duplicate values whitin an array field while opening a new change register

I'm trying these :

on change management, open a new record change, i'm filling the required fields.  The assets field is one of them. It's an array field and i don´t know if it is possible to set a validation so that the values be unique.

In this example, while opening a new record change, the assets field has 7 values, and they're all different  :

assets :  SOL  NUBE  RAYO  TRUENO  LUNA  ESTRELLA  LLUVIA

 

In this other example, while opening a new record change, the assets field has 5 values :

assets : SOL  LUNA  SOL  RAYO  RAYO

and there are 2 values repeated

¿Is it possible to stablish a validation to show a message like "The values on the assets field must be unique"? ¿the validation must be set in formatctrl? ¿as a calculation  or  with a javascript?

 

Any suggestions?  please.

 

Thanks in advance,

Norita

 

Parents Reply Children