Hi,
We are looking for a script that will set a text field only to allow specific email id which should be <username>@gmail.com, the script should not allow <username>@outlook.com.
thanks.
You will need a regex app.
see this one:
https://marketplace.atlassian.com/apps/1211043/unique-regex-custom-field?hosting=server&tab=overview
it's free.
Try this one:
(\W|^)[\w.+\-]*@gmail\.com(\W|$)
Probabli will miss if you have gmail before '@, like aaagmail.com@gmail.com
Will work most of the use cases
Thank you
@Humberto Gomes am looking for complete Scripted validator code by using workflow validator or behaviour also is fine.
It looks like you're new here. Sign in or register to get started.