@Naleeka
Posted
You could use "maxlength","min","max" attribute for card number, Month and Year inputs.
<input type="number" name="eMonth" maxlength="2" min="1" max="12" placeholder="MM" required />
.... like this
Love your work <3
Marked as helpful
@francobernardii
Posted
@Naleeka Just to add, if the maxlength doesn't work try to change de input Type to "Text" and make the validation of empty fields and numbers in JS.
Great work!