DayPilot.Modal.form() lets you programmatically create a modal dialog with custom form fields.
Interactive fields:
Text (single-line text)
Text area (multi-line text)
Select (drop-down list)
Searchable (searchable drop-down list)
Date (date field with a date picker)
Time (time picker)
Date/time (combined date and time fields)
Radio (list of options)
Table (tabular data)
Read-only fields:
Scrollable HTML
Field properties:
Automatic field type detection
Disabled fields
Field value validation
How to map form fields to data object properties
Add a custom validator that prevents submission
Rename default fields
Setting a locale
Date/time field format
CSS Theme
Overriding Selected Styles