QuestionQ27

VerifiedSecurity and Access

How can an administrator ensure that the correct number of digits is entered in the custom encrypted field created to capture credit card numbers on the Opportunity object?

Explanation

A validation rule can enforce the required credit-card number length and format at save time. Encrypted-field masking settings only control display masking, while a text field’s configured length is a maximum rather than a full validity check. Salesforce provides a sample validation rule using REGEX to validate a credit card number format.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!