Validation Rules for Questions
Validation rules in uAuditor allow administrators to automatically evaluate responses based on predefined conditions. These rules help determine whether an answer should pass or fail without requiring manual judgment from inspectors.
Validation rules improve inspection consistency and ensure scoring decisions follow standardized operational criteria ⚙️
What Are Validation Rules?
Validation rules define how answers are evaluated during inspections.
They allow the system to:
- automatically mark answers as pass or fail
- apply scoring logic consistently
- detect compliance violations instantly
- reduce interpretation differences between inspectors
- improve reporting accuracy
This ensures inspections follow objective evaluation standards.
Why Use Validation Rules
Validation rules help organizations:
- standardize inspection scoring across teams
- enforce compliance thresholds automatically
- reduce human error during inspections
- support safety-critical verification processes
- improve reliability of analytics dashboards
- accelerate corrective action identification
They are especially useful for inspections involving measurable criteria.
Question Types That Support Validation Rules
Validation rules can be configured for:
- number questions
- dropdown questions
- multiple choice questions
These question types allow automated evaluation based on selected values or numeric ranges.
Validation Rules for Number Questions
For number questions, validation rules define acceptable value ranges.
Example configurations include:
- temperature must be between 2°C and 5°C
- pressure must not exceed a defined threshold
- quantity must be greater than a minimum value
- measurement must fall within an approved range
If the entered value falls outside the defined limits, the system marks the response as failed automatically.
Validation Rules for Dropdown and Multiple Choice Questions
For dropdown and multiple choice questions, validation depends on selected list items.
Each option inside a custom list can be configured as:
- pass
- fail
- ratio-based score contributor
Example:
Question: Equipment condition
Options:
- Excellent → Pass
- Acceptable → Pass
- Needs maintenance → Fail
This ensures consistent evaluation regardless of who performs the inspection.
How to Configure Validation Rules
To configure validation rules:
- Open the Templates module
- Select the target template
- Navigate to the required Page and Section
- Select the question
- Choose the appropriate validation configuration:
- numeric range validation
- dropdown option scoring
- multiple choice evaluation logic
- Save the question
Validation rules will apply automatically during inspections.
How Validation Rules Affect Inspection Results
When validation rules are enabled:
- failed answers are detected instantly
- inspection scores adjust automatically
- corrective actions can be triggered faster
- reports reflect objective evaluation results
- branch comparisons become more accurate
This improves inspection transparency and decision-making quality 📊
Example Use Cases
Organizations commonly use validation rules for:
- Food Safety Checks
- Example: Reject temperature readings outside safe storage ranges.
- Maintenance Inspections
- Example: Mark abnormal vibration readings as failures.
- Compliance Audits
- Example: Automatically fail non-compliant checklist selections.
- Operational Standards Verification
- Example: Flag incorrect cleaning chemical usage immediately.
These automated checks reduce reliance on manual interpretation.
Best Practices for Using Validation Rules
To configure validation rules effectively:
- define clear numeric thresholds
- align dropdown options with compliance standards
- avoid overlapping validation conditions
- test templates before deployment
- review validation logic periodically
Validation rules help organizations ensure inspections are evaluated consistently, objectively, and in alignment with operational and compliance requirements across all locations.