Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.firstwork.com/llms.txt

Use this file to discover all available pages before exploring further.

Visibility rules conditionally show or hide individual fields based on prior answers or external data. Unlike navigation rules (which control page routing), visibility rules operate within a single page to dynamically adjust which fields the candidate sees.

How They Work

  1. An admin attaches a visibility rule to a specific field
  2. When the page loads, the platform evaluates the rule’s condition tree
  3. If the rule evaluates to true, the element is shown
  4. If the rule evaluates to false, the element is hidden

Common Use Cases

ScenarioExample
Conditional fieldsShow “Spouse Name” only if marital status is “Married”
Role-specific questionsShow “CDL Number” only if position type is “Driver”
Document requirementsShow “Work Permit Upload” only if citizenship is not the hiring country
Age-based sectionsShow “Guardian Consent” only if the candidate is under 18
Follow-up detailShow “Please explain” only if the candidate selected “Other”

Condition Building

Visibility rules use the same condition tree system as decision rules:
  • Field conditions comparing form answers, application status, or profile data
  • Logical operators (AND, OR, NOT) for combining conditions
  • Dynamic data paths for referencing values anywhere in the object graph

Key Differences from Decision Rules

AspectDecision RulesVisibility Rules
ScopePage-level — evaluated after page submissionElement-level — evaluated when the page renders
EffectControls navigation (which page or stage comes next)Controls display (show or hide a field)
TimingAfter submissionBefore submission (on page load)