Subscribe to my Feed

HTML5 Pattern attribute Regex Validation PHP Class


HTML5 introduces 13 new input types for forms, and with these we have the ability to handle validation without JavaScript by means of providing some Regex. As an OOP PHP developer I've grown acustomed to "write once, use anytime" and these Regex form validations are no exception, but who has time to memorise, or worse, refer to a cheatsheet all the time! PHP Class libraries to the rescue! Today I offer you all a little something that I made out of pure laziness, ...

 408 Views   6 Comments Read more »

Back to top