Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 470 Bytes

File metadata and controls

12 lines (8 loc) · 470 Bytes

validator

A form validator that is compatible with the jQuery validation plugin

It allows us to specify validation rules in a .json file on the server and have those rules implemented in javascript by jquery.validator and in PHP by this class.

So now you can simply write the validation rules in one place for both client and serverside validation.

Live demo here: http://www.puremango.co.uk/validator/demo.php