Closed
Description
My rule is this
rules = {
'card_number': ['bail', 'required', 'string', 'max:20'],
'card_expiry_date': ['bail', 'required','string', 'max:8'],
'card_cvv': ['bail', 'required', 'string', 'max:8']
}
I am passing the values
card_number = "876545666"
card_expiry_Date="0234"
card_cvv="123"
but this show error max value must be 20.
How can we validate that the string characters max:20 for value "8777745434"