Monday, January 21, 2013

Dead-Simple JavaScript Form Validations With Parsley


Parsley is a JavaScript library, that can work with both jQuery or Zepto, for validating forms so easily.

It is built with UX concerns in mind and tries to simplify details for the user.

There are most of the frequently-used validation rules built-in like e-mail, required, min/max or “equals”.

Parsley.js

Also, there is support for “remote validations” which can send Ajax requests and validate the data according to the response returned (like checking usernames/e-mails from the database when registering users).

Parsley works with HTML5 data attributes so you actually never write JavaScript with it, everything is inline.

The messages to be displayed, styles and functionality can be almost fully customized.


Source : internetwebsitedesign[dot]biz

0 comments:

Post a Comment