tamble / jquery-ui-daterangepicker

A JQuery UI based date range picker.
MIT License
184 stars 108 forks source link

jquery validation #14

Open ianscarroll opened 9 years ago

ianscarroll commented 9 years ago

Hi,

Awesome job so far!

I apologize in advance for posting here but I was unable to find any other way to contact for support.

How does this work with standard jQuery validation rules?

op16 commented 9 years ago

Hi,

The value of the replaced input field after selection is valid JSON, e.g. {"start":"2015-01-01","end":"2015-03-16"}

The date format used by default is ISO 8601, but you can controll it with the altFormat option; see supported formats.

It is for you to find out if your favorite validation framework supports specifying such a complex format.