Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 689 Bytes

_index.md

File metadata and controls

14 lines (12 loc) · 689 Bytes
title type layout project
xtreamwayz/html-form-validator
project
landingpage
html-form-validator

As challenged by a tweet, this library extracts validation rules and filters from a html form and validates submitted user data against it.

It's pretty crazy what you have to do to get a form build in frameworks. Create a lot of php classes for elements, validation, etc. So why not build a html form and use the standard element attributes to extract the validation rules and filters. Together with some powerful html compliant data attributes you can create forms, customize validation rules and filters in one place.