Daterange picker

Take two datetime fields and link them into an inline date range picker with just a single line of javascript code (+our AppGini Helper JS Library of course).

Here is the Documentation and there is an AppGini Forum Post.

Was this helpful?

Date Range Picker

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 date fields. So please ensure you turn both fields you want to change into DateTime first.

Attention

This will work on datetime fields only, not on date fields. Please read the documentation for DatePicker first.

Syntax

new AppGiniFields( ["fieldname1", "fieldname2"] ).toDatepicker( "Label" );
// file: hooks/tasks-dv.js
new AppGiniFields( ["from_date", "to_date"] ).toDatepicker("Valid from/to");

Was this helpful?