Input reference selector- restrict duplicates

1
I have input reference seelctor that selects multiple values from a page. I need to restrict it such that in my grid, say i have selected values A and B for my first row. Next when i go, i am not able to select A and B. Or it shouldn't allow to select the already added values. How can this be achieved?
asked
2 answers
3

Hi Pragya,

 If you want the process to not continue and give an error message when the object you selected in the reference selector is selected in the next reference selector, you can provide this with count. For example, you have a total of 5 objects to must to choose from, and when you save, you should have 5 objects in your list. However, by making this count action, if there are fewer objects in it (which means the same object has been selected more than once), you can get an error message and have it selected again. I have set up a system like this for you.

I hope it works,

Kind regards,

Halil

answered
0

It is impossible to select the same object over the same association twice. 

No need to validate this.

answered