I have one Object Student and which have a field phone no. I want that, if i insert a value more than 10 digit it give error msg mobile no not more than digit and if i insert less than 10 digit no then. It give a error msg that mobile no should be equal to 10 digit. In a single validation rule. SO how could i do this plz Help
Unfortunaltely that cannot be handled using standard validaton rule. You will have handle such dynamic rules in triggers. Validation rule messages could be displayed in multiple languages using the translation workbench.
Maybe it was a trick question! For more on validation rules - https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_about_field_validation.htm&language=en_US
Unfortunaltely that cannot be handled using standard validaton rule. You will have handle such dynamic rules in triggers.
Validation rule messages could be displayed in multiple languages using the translation workbench.
Maybe it was a trick question!
For more on validation rules - https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_about_field_validation.htm&language=en_US
Hope this helped!
Thanks,
Santosh Kumar Sriram
That said, if you use a trigger you can have 2 or even 20 different messages.
Thx
Either select mine or William's answer as the best answer so that people can refer to this and conclude!
But you should and can only select 1 best answer.
As a common practice, if your question is answered, choose 1 best answer.
But give every answer a thumb up if that answer is helpful to you.
Thanks,