You need to sign in to do that
Don't have an account?
Pannar
Validation Rule - to check western characters?
Dear all,
Is there way to create the validation rule on the particula custom field Name(Text(255) under Opportunity object.
There should be a restriction in that particular field that it should only allow western characters. Is it possible?
please respond.
regards
pannar
would allow any upper case or lower case a-z characters or numbers up to 255 digits long. I'm not sure if it would allow spaces. You can google RegEx() for lots of examples.
but it doesn't work. Its allowing me to enter any characters and saved the account record! :-(
Do i have to pass anything else for non-western chars checking?
Could you please tell me the range of Western characters which can be passed in REGEX. If i get the range, then i am done with my requirement.
thanks a lot
Jakester,
I've tried your code. it worked perfectly. It is not allowing any english characters and numbers . thats fine. but it allows chinese characters which are not coming under Western characters right? So, i need to check ONLY western characters RANGE so that anything other than western characters would not be allowed. understood?
Please guide me.
Hi Pannar,
You're still not making much sense - you say that "it worked perfectly," but you also say "it is not allowing any english characters and numbers", but of course the whole point of the code is that it allows only characters and numbers.
I don't have any experience with other languages and RegEx, so I think your best bet is to clarify what the issue is and see if someone else might help. Here's a resource on RegEx that you might find interesting.