Home › Forums › CSS › Input form (numbers) 'invalid' requirements? › Reply To: Input form (numbers) 'invalid' requirements?
February 18, 2019 at 8:29 pm
#283168
Participant
The answer to my main question (the one about regex) is: [0-9]{16}
is the code I need. I also did away the number type. I’m using the password type. So my input tag and element now look like this: “
To answer my other question, the reason why my CSS wasn’t parsing is because it was raw scss. I needed to compile it to regular CSS.
My Pen showing everything working as it should can be found here: https://codepen.io/Angeles4four/pen/vbbWBv?editors=1100
The issues have been resolved.