How to implement proper validation of the form?

Hello, you need to make a validation form where you enter your credit card details. The card number must be entered in the 4 fields, where each field is a maximum of 4 digits, the same code CVC2 code where the maximum 3 digits.
How it can be implemented in js, jquery or any ready decisions?
June 14th 19 at 20:29
1 answer
June 14th 19 at 20:31
Here, sketched to you specifically =)


And in maps, like, not a maximum of 4 and 3 numbers, exactly 4 and exactly 3...
Thank you very much, what you need) - nikita.Stracke commented on June 14th 19 at 20:34

Find more questions by tags JavaScriptjQuery