Run 12 → Add Logic to a Risk Report Form
- Read the latest in our Run 12 article →
- About Branching Logic in Forms (3 min)
- If you need practice
- Work through the 'Try it!' checklists in your Sandbox (Thunderhawk Arena)
Try it!
→ on Event Computers
A. Start by reading → About Branching Logic in Forms (3 min)
B. Then return here and complete this Hands-on Checklist
Hands-on Checklist
- Log into Guard IQ on your Event Computer → Hint ✋
- Open your Thunderhawk Arena "sandbox" organization → Hint ✋
-
Create a Risk Report Form with three branching Fields → Medical, Missing Person, and Non-Medical → Steps ▶
-
Add a Related Field to your Risk Report Form → Steps ▶
- This will allow you to pull in Records from the Issue Form
→ on Mobile Devices or Event Computers
Hands-on Checklist
Add 3 new Risky Issues
-
Create a Non-Medical alcohol related risk Record with the Issue Form → Steps ▶
- Pick your Event → ex. Magic vs. Stars
- Issue Status → Created
- Issue Type → Security
- Location → Location 1
- Description → Drunk patron had to be escorted off of the property. Verbally abusive to staff.
- Click Create
-
Create a Lost Child incident in the Issue Form
- Pick your Event → ex. Magic vs. Stars
- Issue Status → Created
- Issue Type → Security
- Location → Location 2
- Description → 7-year old girl with light blue Thunderhawk hoodie.
- Click Create
-
Add a Medical Issue → Steps ▶
- Pick your Event → ex. Magic vs. Stars
- Issue Status → Created
- Issue Type → Medical
- Location → Location 3
- Description → A patron fell on the stairs, sustaining a minor scrape and a twisted ankle. The ankle was taped, and a bandage was applied to the scrape.
- Click Create
Attach the above 3 Risky situations to your Risk Reporting Form
Create 3 Records using your Risk Reporting Form.
Important: To save time, click the Related Link field and pull in the Related information into the Risk Forms:
- Add a Risk Reportingrecord that reports the Non-Medical issue above (See #1)
- Add a Risk Reporting record that follows the Missing Person issue above (See #2)
- Add a Risk Reporting that reports the Medical issue above (See #3)
Going back to Lesson 9's reading . . .
- Create a Risk Reports Dashboard → Steps ▶
-
Include:
- Placeholder text → ex. Sorty by Risk Category
- Form Data → _ex. Risk Reporting _
- Select field → Select a Risk Option
-
Also include a Records Table:
About Branching Logic in Forms
Logic let's you branch out to different paths.
Branching can shorten and streamline your Forms — guaranteeing that only relevant fields are shown to team members. (They will appreciate it!)
In this use case, we'll build three branches into a single Risk Report Form — applying logic to Medical, Non-Medical, and Missing Person incidents. Picking any one of the three branches will send team members down a custom path.
Also, notice the Link Record field in the three Branches above. This allows you to pull Related Records from other Forms — as was the case in Lesson 6 Link Records & Risk Reports. Attaching Incident/Issue Records to Risk Records can avoid a duplication of effort.
Add Branch Logic to Forms
To add branching to a Form:
-
Click Form → Create Form
-
Pick Blank → followed by Confirm & Create
-
Enter a name in the Form Name field → ex. Risk Reporting
-
Click Add Field
Important: Add your 'Select' Branching Field
-
As the Field Type pick → Select
-
In the Field Name box enter → Select a Risk Option
-
Add 3 Options → Medical, Missing Person, & Non-Medical
-
Pick unique Colors for each → making them easier to identify later in a Dashboard
-
Click ✓ Save Changes every so often → so if you are interrupted, you won't need to start again
Important: Add a 'Related' Field
As you learned in Lesson 6 Link Records & Risk Reports, clicking Link Record will let you select and merge Related Fields from separate Forms.
To add a Link Record field:
-
Click Add Field
-
As the Field Type select → Related Field
-
In the Field Name box enter → Related Issue
-
As your Related Form pick → Issue
-
Before moving on and creating your branch logic, view how the Form is shaping up so far → and click ✓ Save Changes
Branch 1: Medical
Add your questions regarding Medical risks one-by-one, then add Logic to tie them all together.
Logic is always triggered by prior selections. For example, if the branching logic is executed properly, when a team member selects Medical, they won't see any of the Missing Person or Non-Medical fields.
-
Pick Add Field
-
Pick the Select field type
-
Enter your Field Name → Was the person injured?
-
Enter your answer choice options → Yes & No→ colors optional
Important: Switch to the Logic Tab
-
Click the Logic tab
-
In the Add display logic drop-down, select the parent field → Risk a Risk Option
-
Select the branch option → Medical
-
Add an Injury Description Text field
-
Use the Logic tab to set the above Injury Description field to trigger when Yes is selected
-
Click ✓ Save Changes to preserve your work
Branch 2: Missing Person
Build the Missing Person series following the same steps used above in Branch 1: Medical. (You can position the Missing Person fields either above or below the Medical series fields.)
-
Add a Select field with the prompt → Has the Risk Team made contact?
- Add Yes/No options
- Trigger the Logic to branch to this new Select box by a Missing Person selection from the Risk Reporting field
-
Add another Select field with the prompt → What support was provided?
- Add Yes/No options
- Trigger the Logic to your new Text field from the Yes prompt in the Has the Risk Team made contact? field
-
Click ✓ Save Changes
Branch 3: Non-Medical
This is an easy one. Again, build the Non-Medical branch using the same steps outlined above in Branch 1: Medical. You can position the Non-Medical series either above or below the Medical or the Missing Person series.
-
Add a Text field with the prompt → Summarize the Non-Medical Issue
- Trigger the Logic to branch to this new Select box by a Non-Medical selection from the Risk Reporting field
-
Click ✓ Save Changes