Credit card digits

I had one field in that field i am calculating digits like credit card must be enter 16 digits number

if we are enter 15 digits number it will throw error ;

Can any one help me

Hi,

It should be very straight forward. Have a look at validations in customer bank accounts form.

You can even look into \Classes\CreditCard\luhnCheck…