muhammed / interactive-card

Credit card form with smooth and sweet micro-interactions

Home Page:https://codepen.io/JavaScriptJunkie/pen/YzzNGeR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add new validations

diniremix opened this issue Β· comments

Hello, excellent application. πŸ‘ πŸ’―
I just found a very good example on morioh
Is it possible to add other validations such as those of the site, with regex?

  • American Express: - Starting with 34 or 37, length 15 digits.
  • Visa: - Starting with 4, length 13 or 16 digits.
  • MasterCard: - Starting with 51 to 55, length 16 digits.
  • Discover: - Starting with 6011, length 16 digits or starting with 5, length 15 digits.
  • Diners Club: - Starting with 300 to 305, 36 or 38, length 14 digits.
  • JCB: - Starting with 2131 or 1800, length 15 digits or starting with 35, length 16 digits.

Sorry for the translation, I'm using Google translate 😒

Thank you. I'll look at it