0

Below validation rule is not working. I want to check the record type contains R/O. If No only the user can edit the particular filed.

AND( 
NOT(CONTAINS($RecordType.Name , 'R/O')),
ISCHANGED( Please_explain_Additional_commitments__c ))

Is there any other ways to check the record type?

  • You should check $RecordType.Label rather than $RecordType.Name. – Adrian Larson Oct 17 '18 at 12:04
  • Record type contains R/O, What does it mean? whether it has a different name but it should contain R/o in that? – sanket kumar Oct 17 '18 at 12:04
1

Instead of using "$RecordType.Name" use "RecordType.Name"

  • please refrain from asking the OP from marking as a best answer. Additionally, can you elaborate WHY the op has to use that syntax, just so they udnerstand, as well as others that might not be aware of why for completeness sake. thanks – glls Oct 17 '18 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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