Skip to main content

Logic based on an answer to a question

Show or hide a Checklist element or page based on how an earlier question was answered — the most common way to make a Checklist adapt to what the User reports.

Written by Logan Bowlby

Overview

Answer-based logic shows or hides an element or page depending on how an earlier question was answered. It's the most common form of Checklist logic — the way a Checklist branches to follow up on what the User actually reports.

Why this matters: A flat Checklist asks everyone everything. Answer-based logic makes it responsive — the "describe the damage" question only appears when someone answered "damaged," so operators see a short, relevant form and you still capture full detail exactly when it's needed.


How it works

You attach the logic to the element or page you want to control, and point it at a previously answered question and the answer value that should reveal (or hide) it. When the User reaches that point, Mobaro evaluates the earlier answer and shows the element only if the condition is met.

Because it reads a previous answer, the controlling question must come before the element it governs in the Checklist flow.

Note: Answer-based logic controls visibility — it shows or hides. To make an answer create a task, a follow-up Checklist, or require a photo, use a trigger instead. Logic changes what the User sees; triggers fire actions.


Example

A ride inspection asks "Restraint condition?" with options Good and Damaged. A follow-up page, "Damage report", has answer-based logic set to show only when Restraint condition is Damaged. Operators reporting a good restraint never see the extra page; operators reporting damage are taken straight into capturing the detail.


Frequently asked questions

Q: Can I base logic on a question that comes later in the Checklist?
A: No. The controlling question must be answered before the element it governs, since the logic reads an existing answer.

Q: How do I set this up?
A: Add logic to the element or page and choose the "based on an answer to a question" condition. See Adding logic to a Checklist for the steps.

Q: What's the difference between this and a trigger?
A: Logic shows or hides parts of the Checklist; a trigger fires an action (an Assignment, Ad Hoc Slot, or a required comment/photo) based on an answer.

Did this answer your question?