@jcbotero
Posted
Hello Waldo! Good solution. I have something to add if you don't mind:
Inside the input tag, where you know the user should not type more than a specified number of characters, you can use the max-length property. So, in the "CVC" entry add:
<input maxlength="4">
In this way, the user cannot type more than 3 numbers. You can apply this to the other inputs, where necessary.
If you think this helped you, please mark it as helpful. Thank you!
Marked as helpful