AnsweredAssumed Answered

How to not use a list item more than once.

Question asked by dougbrowning on Feb 27, 2019
Latest reply on Mar 4, 2019 by dougbrowning

I have a select one list in a repeat where I want to stop, or warn, a user if they pick an item more than once during the repeats.  This list is about 1,300 items.


I created a field that keeps a running list from my repeat

join(", ", ${SpeciesList})


I tried this constraint on the list  not(contains(${AllPlants}, ${SpeciesList}))  but it always triggers since it is in the list as soon as i pick it.


Is there a way to count the number of string occurrences?  Or remove it from the check somehow.


Thanks for any ideas