FireForm pivot sets

On this page:


Overview

In FireForm, you can use pivot sets to create dynamic and customizable drop-down menus for your form. For instance, you can create a drop-down menu where each menu item determines the content of a second drop-down menu. You can also use pivot sets to create form assignees based on a user's selection from the drop-down menu.

Example

In the example below, the "Alleged Violator's Campus" menu is populated by a "Campus" pivot set, where each campus is a pivot value. The "Alleged Violator's Affiliation to IU" menu is populated by a "Status" pivot set, where each affiliation/status ("Student", "Faculty", "Staff", etc.) is a pivot value. Each pivot value also has a parent value; for instance, "Student" is a pivot value with the parent value "IU Bloomington".

In the image below, the second drop-down ("Alleged Violator's Affiliation to IU") is empty because no campus has been selected:

Two drop-down menus on a form. No option is selected for Alleged Violators Campus, and the Alleged Violator's Affiliation to IU menu is empty.

Once a campus is selected (for example, "IU Bloomington"), then the "Alleged Violator's Affiliation to IU" menu is populated:

The same two menus, with IU Bloomington selected in the first and a list of campus affiliations displayed in the second.

Step 1: Create the pivot set(s)

Before you can add a Pivot Type element to a form, you'll need to create the pivot set(s):

  1. From the top menu, select Configuration and then Pivot Sets from the drop-down menu.
  2. Select Add Pivot Set. Enter a meaningful name for the set (for example, "Campus"), and then select Save.
  3. You will now see the "Pivot Set Details" page. To define the pivot set, select Pivot Values in the upper right, select Add Pivot Value, and enter the pivot value's attributes:
    • Value: This will display in the drop-down menu users see on the form (for example, "IU Bloomington").
    • Parent Value: Used to create a parent/child relationship with pivot values for = conditional drop-down lists. This must match an existing pivot value that has been predefined. In the example above, the "Student" value has the parent value "IU Bloomington".
    • Assignee: Creates an assignee based on the user's selection in the drop-down menu(s). In the example above, if "IU Bloomington" and "Student" are both selected, the form could route to person X, while if "IU Bloomington" and "Faculty" are selected, the form routes to person Y.

      When using parent/child pivot values, only add an assignee to the child value.

      You can add one or more assignees. These will replace any assignee(s) defined in the workflow step. If an assignee is not defined on the pivot set, but one or more designated assignees are in the workflow, the assignee(s) will be added based on the workflow.

    • Group: Works the same way as adding an assignee, but uses an ACM group instead of a username.
    • Sort Order: Sets the order in which the values are displayed in the drop-down list on the form. If this is not defined, the values will be displayed in alphabetical order.
    • Copy/CC Email Address: Users associated with these addresses will receive a copy of the confirmation message sent to the submitter.
    • Translate JSON: Used as part of the integration, providing the ability to pass a JSON object to the external system. For example:

      Pivot Name: KFS Account
      Pivot Value 1: 1010101
      Pivot Value 1 Translate JSON: {"fiscalOfficer": "tdlewis", "delegate": "bili", "dept": "VPIT"}

  4. Select Save.

Step 2: Create the element(s)

  1. Navigate to the form where you will use the pivot set(s), and then to the "Form Details" page.
  2. Select Form Content, and navigate to the section in which you want the drop-down menu(s) (containing the pivot values) to display.
  3. Select Add Form Element. For detailed instructions on creating elements, see Create form content.
  4. For the element type, select Pivot Type. This will reveal additional element fields, including:
    • Pivot Set: Lists your predefined pivot sets.
    • Child of: Lists any other elements that have been created and contain a Pivot Type.
    • Pivot Workflow State: Lists predefined pivot workflow states, as well as an option to select a new state. This determines when the pivot value assignee is assigned.
  5. Select Save.

Example

In the example above, to create the "Campus" drop-down menu, you would make the following selections for the form element:

A pivot element with fields filled out as described below

  • Name: Alleged Violator's Campus
  • Type: Pivot
  • Pivot Set: IU Campus
  • Child Of: None (The "IU Campus" pivot values do not have parent values.)
  • Pivot Workflow State: None (The workflow state will be defined in the child pivot set.)

To create the "Alleged Violator's Affiliation to IU" drop-down, you would create a form element with these selections:

A second pivot element with fields filled out as described below

  • Name: Alleged Violator's Affiliation to IU
  • Type: Pivot
  • Pivot Set: IU Status (The drop-down menu will be populated by the values in the "IU Status" pivot set.)
  • Child Of: Alleged Violator's Campus (Alleged Violato..." (This is the name of the element that contains the parent pivot set, as defined above.)
  • Pivot Workflow State: New (This is the workflow state at which the assignees listed on the pivot values will receive their assignments.)

Get help

If you have additional questions, need to report a bug, or would like to make enhancement requests for the FireForm system, submit a FireForm Support Request.

This is document bfzm in the Knowledge Base.
Last modified on 2024-02-19 14:42:53.