Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Input form (numbers) 'invalid' requirements? Reply To: Input form (numbers) 'invalid' requirements?

#283168
drone4four
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.