You need to sign in to do that
Don't have an account?
Validation Rule LEN function
When writing a validation rule in a custom object field is it required to drop the global relationship inside the LEN (text) function?
eg LEN( $ObjectType.Customer__c.Fields.ID_Number__c ) gives error "Error: Incorrect parameter type for function 'LEN()'. Expected Text, received Object"
But when I put it LEN(ID_Number__c ) it works fine!!!
eg LEN( $ObjectType.Customer__c.Fields.ID_Number__c ) gives error "Error: Incorrect parameter type for function 'LEN()'. Expected Text, received Object"
But when I put it LEN(ID_Number__c ) it works fine!!!
Use this in you validation rule..
let me know if it works
But then it says Error: Incorrect parameter type for function 'TEXT()'. Expected Number, Date, DateTime, Picklist, received Object
use this it would work for you.
but will give
Error: Incorrect parameter type for function 'LEN()'. Expected Text, received Object