Date Range Field Auto Duration Setter
Overview
The Date Range Field Auto Duration Setter Plugin simplifies the management of date range fields by automatically selecting the appropriate duration format—hours or days—based on the data. This plugin triggers on form load and ensures the correct duration format is maintained even when the form is resubmitted. If the duration field is missing, an error notification is displayed to alert the user.
Use Cases
- This plugin is ideal for applications where time tracking or duration calculation is required, such as project management or scheduling systems. It helps prevent errors by automatically selecting the correct duration format, making form submissions more efficient and accurate.
Installing the plugin
Prerequisites:
- The page must have a form component
- The form must have a date range field
- Javascript must be enabled (applicable if your're on trial account)
Step-by-Step Installation:
Removing the Plugin
To remove the plugin, find the Javascript code that is surrounted with a comment for the plugin name and delete the code. Do the same for the CSS as well.
We'd love to hear your feedback.