You need to sign in to do that
Don't have an account?

Validation rule help: modifying to allow for empty field
I'm setting up a custom "Graduating Class" field for our contacts. I want users to either leave the field blank or enter numbers in the field in the YYYY format (no commas). How do you recommend I write the validation rule?
So far I have NOT(ISNUMBER( Graduating_Class__c )) to strip the comma, but I'm not sure how to modify to allow for a blank option.
So far I have NOT(ISNUMBER( Graduating_Class__c )) to strip the comma, but I'm not sure how to modify to allow for a blank option.
You can have Graduating_Class__c as Text of lenght 4, and have below Validation rule set on Contact- Here, we are checking that Graduating_Class__c must be a number and of length 4, if it is entered. Otherwise no error.
Let me know if this helps!
All Answers
You can have Graduating_Class__c as Text of lenght 4, and have below Validation rule set on Contact- Here, we are checking that Graduating_Class__c must be a number and of length 4, if it is entered. Otherwise no error.
Let me know if this helps!