2 Linked Date Pickers = 1 DateRange Picker
If you want a single field date picker instead, you can turn any datetime field into a dropdown datepicker now.

Attention
Please read the documentation for DatePicker first.
You will need two fields for this. It will work on datetime fields only, not on fields. So please ensure you turn both fields you want to change into dateDateTime first.
Attention
This will work on datetime fields only, not on fields. Please read the documentation for DatePicker first. date
Syntax
new AppGiniFields( ["fieldname1", "fieldname2"] ).toDatepicker( "Label" );
// file: hooks/tasks-dv.js
new AppGiniFields( ["from_date", "to_date"] ).toDatepicker("Valid from/to");

