Parsley root cooking
That’s why Parsley is here: to let you define your general form validation, implement it on the parsley root cooking side, and simply port it frontend-side, with maximum respect to user experience best practices. Parsley’s current stable and supported versions are 2.
If you still use a 1. Parsley’s default DOM API is data-parsley-. You can also view here all of Parsley’s default configuration options. You will also need to include es5-shim if you want need to support IE8.
Then, you can either use parsley. These files and extras are available here. Parsley CSS Parsley adds many classes and elements in the DOM when it validates. You are strongly encouraged to customize them in your own stylesheets, but here is the “standard” Parsley css file that is used here on the documentation and examples, if you want to use it to bootstrap your projects with Parsley. They are shipped in English by default, but many other languages are available, thanks to the awesome international Parsley community.