You need to sign in to do that
Don't have an account?
Wil Pho
validation rule to prevent non-alphanumeric characters
Hi there,
I'm trying to create a validation rule to prevent accounts from being created in our Community Cloud site whose account name contains non-alphanumeric account names. Getting a lot of fake accounts. For example, I want to prevent Asian characters in the account names. I tried various versions.
I tried these:
NOT( REGEX( Name , "[a-zA-Z0-9]+"))
NOT( REGEX( Name , "[a-zA-Z0-9_+-]+"))
They blocked this name: "wil test" for some reason.
Appreciate any help!
Wil
I'm trying to create a validation rule to prevent accounts from being created in our Community Cloud site whose account name contains non-alphanumeric account names. Getting a lot of fake accounts. For example, I want to prevent Asian characters in the account names. I tried various versions.
I tried these:
NOT( REGEX( Name , "[a-zA-Z0-9]+"))
NOT( REGEX( Name , "[a-zA-Z0-9_+-]+"))
They blocked this name: "wil test" for some reason.
Appreciate any help!
Wil
Try Below Validation Rule Please Mark it As Best Answer If It Helps
Thank You!
Try using the one given below
Please Mark it As Best Answer If It Helps.