/
Validation rule: Check_Last_4_card_digits

Attention: Confluence is not suitable for the storage of highly confidential data. Please ensure that any data classified as Highly Protected is stored using a more secure platform.
If you have any questions, please refer to the University's data classification guide or contact ict.askcyber@sydney.edu.au

Validation rule: Check_Last_4_card_digits

Validation rule Details

Name

Check_Last_4_card_digits

Label

Check_Last_4_card_digits

Object

AQB__Transaction__c

Active

No

Formula

NOT(

OR(AQB__Last4DigitsOnCard__c = null,(AND( LEN(AQB__Last4DigitsOnCard__c) = 4 ,REGEX(AQB__Last4DigitsOnCard__c , "[0-9]{4}"))))

)

Error message

This field can only hold 4 numbers.

Error location

Last 4 Digits on Card

Description

Check last 4 card digits

Related content

Validation rule: USYD_Check_Last_4_card_digits
Validation rule: USYD_Check_Last_4_card_digits
More like this
Validation rule: USyd_Last_three_digit_must_be_numeric
Validation rule: USyd_Last_three_digit_must_be_numeric
More like this
Validation rule: Check_Number
Validation rule: Check_Number
More like this
Validation rule: US_Postal_Codes_in_Billing_Address
Validation rule: US_Postal_Codes_in_Billing_Address
More like this
Validation rule: Usyd_Account_PermAddrPhone_Validation
Validation rule: Usyd_Account_PermAddrPhone_Validation
More like this
Validation rule: US_Postal_Codes_in_Permanent_Address
Validation rule: US_Postal_Codes_in_Permanent_Address
More like this