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 (Edit) open the Edit Time Span Field window.
- On the Settings tab, mark Hidden if you don’t want the time span field to display in the app.
- Enter a label for the time span field.
- In the Tooltip field, enter the tip/hint you may want to include for the time span field.
- Select the starting time and ending time fields.
- Specify how you want the time span rounded.
- Click the Styles tab to specify the style settings for the time span field. See Using the Styles Tab for more information.
- Click the Validations tab to create a validation for the time span field. See Creating Field Level Validations for more information.
- Click OK to save your entries. Click Cancel to close the Edit Time Span Field window without saving changes.