I'm writing a page for find some record in two different range of dates (dates' name: from1, to1 and from2, to2). In the form page I've used 4 datepicker input and they work fine, but I wonder if there are some config to control these dates like this:
from1 < to1 < from2 < to2
It's to prevent wrong input by users.
Thank you