FleetAdmin - Sub Forms & Calculations

A Sub Form is a form inside of a form. Think of Sub Forms as being able to replace blank lines of a paper form where one or multiple lines can be entered. Instead of adding multiple fields to a Form and having the potential for blank space, we can create a Sub Form and include an Add Subform button to the main form. Users can Click on the button once or as many times as they require.

Creating Sub Forms

  • In FleetAdmin go to Forms
  • Click on Add Form
  • Select Type: Form Section (Sub-form)
  • Name Subform
  • Hint - Add name of original Forms it is used in notes for ease of reference
  • Add the line Items required in your Subform
  • See FleetAdmin Forms for how to create
  • Click Save
Screen_Shot_2022-09-08_at_3.57.11_pm.png

 

Adding Sub Form to Main Form

  • Go to Forms in FleetAdmin
  • Select the original main Form
  • Add a new line & select Add Sub Form Button as a Type
  • Once the Sub Form field is added, link the created Sub Form from the dropdown in Additional Settings
Screen_Shot_2022-09-08_at_3.58.21_pm.png

It is possible to add the one Subform to multiple original Forms

Form Calculations - Roles

Fields in Forms can be assigned Roles that allow information to be mapped & calculated. For example, mapping the Start Time, End Time and Break Times will allow the system to automatically calculate the Total Time worked.  
  • Go to created Form
  • On the line Item click on Show Additional Settings
  • Select the required Role

The Role will vary depending on what Type is selected:

Type Role Name Role Calculations
Date Range Date Range Determines the Date Range 
Number Input Break Time Minutes that will not count towards total hours
  Total Hours Total of entered hours worked
  Total Time The total time calculation will be displayed in this field
  Worked Hours Hours that will count towards total hours works
Time Select End Time Determines the end time
  Start Time Determines the start time

See below example of mapping total time worked, including Travel time:

 

Screen_Shot_2022-09-13_at_3.13.00_pm.png

Sub Form Calculations

Fields in Sub Forms can also be mapped & calculated.  Adding in a Total Time in the Subform will calculate each entry.  Adding a Total time in the original Form will calculate the Total Time field within each Sub Form and produce a grand total.
 
 
 
 
 
Was this article helpful?
0 out of 0 found this helpful