Page 1 of 1

Timepicker minTime maxTime (v2017)

PostPosted: Sun Oct 02, 2016 4:11 am
by jaypolmx
Due to lack of documentation, maybe this will save you an hour of your precious coding time:
Let's say you want a timepicker that allows only every hour input (without seconds), starting from 7:00am and ending on 8:00pm. You want this in an 24hour format, so in Extensions -> TimePicker click on Advanced tab, then in your desired field you should enter the next parameters:

TimeFormat
H:i

Step
60

Options
{"minTime": "07:00","maxTime": "20:00"}

That's it, hope it helps.