Inline validation

 

Preserve data

Preserve the form field data entered on validation errors

 

Side note

Credit card numbers can be validated using the Luhn algorithm, which finds out whether the card number sequence has been correctly typed. It does not validate whether the number is valid and has sufficient funds.