Hi everyone,
I am casual user of arcade scripting and I wonder if anyone can help me with some script?
I have a simple script where when someone enters a value into a field, the script will populate another field with "1" at the end.
What I need help with is when someone enters the same value again, I would like the duplicate value to have a "2" and increase for every subsequent duplicate value.
Here is the script that I wrote initially.
var FieldName = $feature.StopID_text;
return Concatenate ($feature.StopID_text + "-" + "BB" + "-" + "1") ;
Thanks for the help!
Cheers,
Justin