How to add a Time Span field to a form
Use a Time Span field to calculate the hours between two-time fields on a form. Once calculated, a time span field works like any other number field and can be used in other calculated fields. Time spans always display 2 decimal places. Time span fields help analyze time-sensitive data, such as calculating response and resolution time spent when troubleshooting a service call.
- From the Actions/Container menu in the Form Designer, click the Time Span Field input.
- The time span field is added to the form.
- Click on it to view the Time Span Field input slider.
- In the Label field, enter a label for the time span field.
- Expand Input Options.
- In the Tooltip field, enter the tip/hint you may want to include for the time span field.
- Toggle on Hidden if you don’t want the time span field to display in the app.
- Select the starting time and ending time fields.
- Specify how you want the time span rounded.
- Expand Formatting Rules. For more information, see Adding Formatting Rules to Number Fields.
- Expand Styles to specify the style settings for the time span field. See Applying a Style to an Input for more information.
- Expand Validations to create a validation for the time span field. See Creating Field Level Validations for more information.
- Expand Field Condition to create a condition for the time span field. See Adding a Field Condition for more information.
- Save your entries.