Conditional Form Logic
What is conditional form logic?
Conditional form logic controls which controls are shown to a user during an assessment, based on answers already given to earlier controls in the same control bundle. This prevents respondents from seeing irrelevant questions and keeps assessments focused on what applies to their specific situation.
How it works
Each control in a control bundle is visible by default. Conditional logic can mark a control as dependent — meaning it only appears when a specific answer is selected on a parent control.
Configuration options per dependency:
controlIdentifier— the parent control whose answer triggers the dependent controlanswerOptionIdentifiers— the answer option(s) on the parent that trigger displayisInverse— whentrue, the dependent control is visible by default and hidden when the triggering answer is selected (inverted logic)
Multiple input conditions can be combined. If answerOptionIdentifiers is empty, any answer on the parent satisfies the condition.
Example
{
"dependentControlIdentifier": "com.example.safety.s2",
"inputs": [
{
"controlIdentifier": "com.example.safety.s1",
"answerOptionIdentifiers": ["fully-compliant"],
"isInverse": false
}
]
}
In this example, control s2 is only shown if s1 was answered with “fully-compliant.”
Scope
Conditional logic is scoped to a single control bundle. A dependent control in bundle A cannot reference a parent control in bundle B.
Who can configure conditional form logic?
Only Org Admins and System Admins can create or edit conditional logic configurations, via the User Journey tab in Admin Settings.
Any member of a project can see the effects of conditional logic during assessment — controls hide or appear as they answer questions.
How to configure
Contact support@asenion.ai for access to this advanced feature.