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.

 

Click button to skip ahead to: 

Screenshot 2025-01-20 at 13.07.12.png Screenshot 2025-01-20 at 13.07.23.png Screenshot 2025-01-20 at 13.07.37.png Screenshot 2025-01-20 at 13.07.44.png

 

 

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.
 
 
 
 

Up next - FleetAdmin Templates 

Was this article helpful?
0 out of 0 found this helpful