In line 63 of the form I have a constraint. My intent is for it to check previous plant entries and if there is a duplicate, return a message saying "hey you already added this." However I copied the formula from a different form and I think something is off, it hasn't worked so far and I can't tell why.
This is my code so I hopefully can help.
You need to add a once on line 63 like this
once(join(", ", ${Species}))
Line 64 also needs a once
once(count(${species}))
Try that
Hi Doug! I tried that and it didn't change the result, I am still allowed to enter the same plant multiple times.
mm can you post the species csv so i can test, you prob dont use unknown codes
Oh you have this outside the repeat, it needs to be inside. Move end repeat down below line 65
Both of those seemed like it would do the trick, but neither of them did it. I can still add Abies Balsamea to my heart's content.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.