I need to build up a validation rule for: Need to show validation error if Account Name ends with a specific text say 'Test'.

How will I achieve this in Salesforce?

closed as off-topic by Mohith Shrivastava, martin, Boris Bachovski, Tushar Sharma, Ratan Paul Feb 27 '17 at 7:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: SSCCE.org" – Mohith Shrivastava, Boris Bachovski, Tushar Sharma, Ratan Paul
If this question can be reworded to fit the rules in the help center, please edit the question.


Formula could be:

(RIGHT(Name, 4)) == "Test"

Not the answer you're looking for? Browse other questions tagged or ask your own question.