Set Precondition Lock
The Precondition Lock condition controls gate access based on completion of required inputs. The gate opens only after the user has filled in all required fields in the specified dependency source.
Overview
Precondition Lock enables you to:
- Require completion of prerequisite content
- Create progressive workflows
- Ensure users complete steps in order
- Gate content behind form submissions
Enabling Precondition Lock
- In the gate editor, find the Precondition Lock section
- Toggle the "Use Precondition Lock" switch to enable
- Configure the dependency source settings
Configuration Options
| Field | Required | Description |
|---|---|---|
| Page | Yes | The page containing required inputs |
| Tile Instance | No | Specific tile with required inputs |
| Single Element | No | Specific element that must be filled |
How It Works
The gate checks if all required fields within the selected scope have user input:
- Page only → All required fields on the entire page must be filled
- Page + Tile → All required fields in that specific tile must be filled
- Page + Tile + Element → That specific element must have a value
Dependency Source: Reflection Page
├─ Required Field 1: ✓ Filled
├─ Required Field 2: ✓ Filled
├─ Required Field 3: ✗ Empty
└─ Gate Status: BLOCKED (not all required fields filled)Configuring Dependency Source
Step 1: Select Page
- Click the Page dropdown
- Select the page containing prerequisite content
- This page's required inputs become the dependency
Step 2: Select Tile Instance (Optional)
If you only want to check a specific tile:
- After selecting a page, click the Tile Instance dropdown
- Select the specific tile
- Only this tile's required inputs are checked
Step 3: Select Single Element (Optional)
If you only want to check a specific field:
- After selecting a tile, click the Single Element dropdown
- Select the specific element
- Only this element must have a value
Scope Examples
Entire Page Completion
Dependency Source:
├─ Page: "Self Reflection Form"
├─ Tile Instance: (none)
└─ Single Element: (none)
Gate opens when: ALL required fields on the entire page are filledSpecific Tile Completion
Dependency Source:
├─ Page: "Feedback Form"
├─ Tile Instance: "Initial Questions"
└─ Single Element: (none)
Gate opens when: All required fields in "Initial Questions" tile are filled
Other tiles on the page are ignoredSingle Field Completion
Dependency Source:
├─ Page: "Quiz Page"
├─ Tile Instance: "Quiz Form"
└─ Single Element: "Final Answer"
Gate opens when: The "Final Answer" field has a value
Other fields are ignoredStatus Display
When Precondition Lock blocks access, users see:
"Blocked – condition is not met"Once the dependency is satisfied:
"Open for editing"Common Use Cases
Sequential Learning
Require completion of Module 1 before accessing Module 2:
Gate: "Module 2 - Advanced Topics"
Precondition Lock:
└─ Page: "Module 1 - Fundamentals"
Result: Module 2 unlocks after completing Module 1's required inputsReview After Submission
Gate the review page behind form submission:
Gate: "View Results"
Precondition Lock:
├─ Page: "Assessment Form"
└─ Tile: "Submit Assessment"
Result: Results page opens after assessment is submittedCertificate Generation
Require all modules to be completed:
Gate: "Download Certificate"
Precondition Lock:
└─ Page: "Final Exam"
Result: Certificate available only after completing the final examPeer Review Workflow
Require self-reflection before viewing peer feedback:
Gate: "Peer Feedback"
Precondition Lock:
├─ Page: "Self Reflection"
└─ Tile: "Reflection Questions"
Result: Peer feedback accessible after self-reflection is completeCombining with Other Locks
Precondition Lock works alongside other conditions:
Gate: "Day 3 Advanced Content"
Time Lock: Opens +48h after start
Precondition Lock: Requires "Quiz 1" completion
Result: Content opens 48 hours after start,
but ONLY if the user has completed Quiz 1All enabled conditions must be met.
What Counts as "Required"
Fields checked for completion are those marked as required/mandatory in the builder:
- Text inputs with required validation
- Selections that must be made
- Checkboxes that must be checked
- Any field with mandatory validation
Optional fields are not checked for precondition locks.
Best Practices
Keep dependencies clear - Users should understand what they need to complete
Show progress indicators - Help users know what's remaining
Test thoroughly - Verify the gate opens when dependencies are met
Consider partial saves - Users may not complete forms in one session
Document your workflow - Map out the dependency chain
Troubleshooting
Gate Not Opening After Completion
- Verify all required fields have values
- Check that you're checking the correct page/tile
- Ensure the user's data was saved successfully
Gate Opening Too Early
- Verify the correct scope is selected
- Check if required fields are properly marked in the builder
- Review which elements are actually required
Wrong Page/Tile in Dropdown
- Ensure the pages/tiles exist in your application
- Refresh the Gate Controller page
- Verify the builder has the correct structure
Questions?
If you have any questions, please don't hesitate to contact us. Alternatively, you can submit an issue on this platform.
Useful Links:
Add a Gate - https://help.acenji.com/#/./shared-concepts/gate-controller/add-a-gate/index Set Variable Lock - https://help.acenji.com/#/./shared-concepts/gate-controller/add-a-gate/set-variable-lock/index Set Display Element - https://help.acenji.com/#/./shared-concepts/gate-controller/add-a-gate/set-display-element/index