This content has been marked as final. Show 2 replies
Did you know that you can do that with a unique values validation set up in field options for this field and not need to use a script?
Ooops, didn't even know how simple this was.
Thank you Philmodjunk.