This topic is locked

How to restrict date range?

11/6/2015 2:41:06 AM
PHPRunner General questions
romaldus author

Does anyone know how to restrict date range in pop up calendar?
Jquery example : Restrict Date Range
Default PHPRunner calendar can only restrict year range.

Sergey Kornilov admin 11/6/2015

We do not have such an option available.

C
cristi 11/7/2015

You need to use an custom jquery dater picker that have this option.
Something like THIS (it is also mobile friendly).
You can attach it to an element (new empty css class or id - your choice) and use it like this:

$('.datefieldclass').pickadate({

min: new Date(2015,3,20),

max: new Date(2015,7,14)

})