Parsley.js - Powerful, UX Aware & Dead Simple JavaScript Forms Validation Library
Join the DZone community and get the full member experience.
Join For Freeparsley.js is a javascript library for forms validation. parsley.js takes a different approach to forms validation. instead of making you use javascript for validating your forms, parsley.js uses data attributes to achieve the same effect.
to use parsley.js, you just need to include the javascript library then use a data attribute on the form element you want to validate. you can use the built-in validators of parsley.js on specific fields of the form as data-attributes and parsley.js does the rest for you.
parsley.js is very lightweight, at only 12k minified. it is available as a standalone javascript library or as a jquery or zepto.js plugin.
requirements:
none
demo:
http:/ / parsleyjs. org/ documentation. html
license:
mit license
Published at DZone with permission of Hirvesh Munogee, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Trending
-
Insider Threats and Software Development: What You Should Know
-
How To Design Reliable IIoT Architecture
-
Hyperion Essbase Technical Functionality
-
Boosting Application Performance With MicroStream and Redis Integration
Comments