Validating form javascript

is an open source component of Wrapp and is licensed under the MIT license.

The errors has the same format as the errors from the regular validation function.The attributes must be a plain object or a form element, things like backbone models etc are not supported.For the format of the constraints see the constraints section.The validation constraints can be declared in JSON and shared between clients and the server. One thing that is a bit unorthodox is that most validators will consider empty values (, whitespace only strings etc) valid values.So for example adding a constraint of at least 6 characters will be like saying If the attribute is given it must be at least 6 characters.

Search for validating form javascript:

validating form javascript-41validating form javascript-78

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “validating form javascript”