Configuring Conditional Mandatory Fields in Model-Driven Apps
Short answer
D Set the requirement level using a business rule to enforce mandatory field entry conditionally without code.
Question
The company requires the following app functionality:
Ensure users enter a value in a specific column when a condition is met.
Prevent users from saving the record until they complete the field.
The solution must be implemented without using code or automation.
You need to configure a business rule to meet the requirements.
What should you do?
Key Takeaways
The question tests the distinction between UI visibility/defaults and actual data validation; only setting the requirement level prevents saving an incomplete record.
Learn how to enforce conditional data validation in Microsoft Power Apps model-driven apps using business rules to set field requirements without coding.
Common mistake: Choosing 'Show a recommendation' or 'Set field visibility' because they modify the form appearance, but neither stops the user from saving a record with missing data.
Expert Analysis
The scenario requires enforcing data quality by ensuring a specific column is populated only when a certain condition exists, while preventing the record save until that field is completed. The constraint is to achieve this without code or automation, pointing directly to platform-native validation features within Model-Driven Apps.
In Microsoft Dataverse and Power Apps, Business Rules are the tool designed for declarative logic implementation on entity forms. They can execute actions based on conditions but cannot trigger server-side validations (like webhooks) or complex client-side scripts. To enforce mandatory entry, the correct configuration is to use the Set Requirement Level action within a Business Rule. By setting the requirement level to 'Business Required' under a specific condition, the system automatically validates the field upon submission, blocking the save operation if the field is empty. This aligns perfectly with the 'no code/automation' constraint.
Option A, Show a Recommendation, provides guidance but does not prevent saving. Option B, Set Field Visibility, controls whether a user sees the field but does not enforce data entry. Option C, Set a Default Value, pre-fills data but does not ensure user input or block saves if the default is inappropriate or if the user tries to clear it. Therefore, setting the requirement level is the only mechanism that enforces the mandatory nature of the field conditionally.
Official Reference
https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/create-business-rules
This link opens the official vendor documentation in a new tab.
Exam Strategy
When asked about enforcing data integrity or mandatory fields in Power Apps without coding, immediately look for 'Requirement Level' configurations. Remember that Business Rules handle these declarative validations, whereas Plugins or JavaScript are reserved for complex, cross-entity, or server-side logic that exceeds rule capabilities.
Frequently Asked Questions
Can a Business Rule validate data against another table?
What happens if I set a field to Business Required via Business Rule?
Discussion 1 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 1
-
exam_upskill 👍 1 Answered DD. Set the requirement level.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.