Change date format with Javascript


Inserting data into forms is one of the most trivial tasks for any application. Most of the data is simple like inputs, radio buttons, checkboxs or textareas.

There are, however, some field types that have been causing controversy about the best way to fill those fields. In this post we talk about date fields and how you can format the input in order to provide an easy-to-use application.

A lot has changed since the first datepicker was introduced. However, we keep working with applications that aren't easy to use and the users struggle to fill date fields in the correct format.

Events and objects in Parsley.js


Sometimes it's useful to trigger some actions when your form of field is validated.

Parsely 2.x allows you to use trigger events to this end. Events can be used to change DOM elements or to get access to the list of error messages for the form of fields. We'll also take a look at the objects created by Parsley and how do they work.

Custom validations with Parsley.js


So you read the basic Parsley usage and its enough for simple forms. Now you have a few more complex validations and you don't quite know how to get there.

In this case, take a look at this post where we show you how to use custom validations, build by you. We'll also show you how to submit your form via AJAX when its validated by Parsley.

How to validate your forms with Parsley.js


In the contact form of your site or your application's forms, its essential to use form validation.

There was a time when a form was submitted and there were errors and the user had to provide all the information. These days this is unnacceptable and a serious issue regarding to user experience and usability.

In this post we are going to introduce you to Parsley.js, a lightweight and flexible form validation Javascript library that relies on jQuery