News for hackers. Stuff that matters.
Re:HTML Form Validation is heavily underused by HappMacDonald on Tuesday October 29, 2024 @07:54AM (#41982943)
What's wrong with

<input type="text" pattern="[0-9.-]*">

though?

Re:HTML Form Validation is heavily underused by francislavoie on Tuesday October 29, 2024 @08:15AM (#41983092)
It doesn't prevent the bad input, it only validates it on submission.