Configuring Conditional Mandatory Fields in Model-Driven Apps

AB-410 By islever Editorial Last updated

Short answer

D Set the requirement level using a business rule to enforce mandatory field entry conditionally without code.

Question

A company uses a model-driven app to enforce data quality standards.
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?
  1. Show a recommendation.
  2. Set field visibility.
  3. Set a default value.
  4. Set the requirement level. Correct Answer

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?

No, Business Rules operate locally on the current entity's form context. For cross-entity validation, you must use a Plugin, JavaScript, or a Flow.

What happens if I set a field to Business Required via Business Rule?

The system will prevent the record from being saved if the field is empty when the condition is met, displaying a standard error message to the user.

More AB-410 FAQ →

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

  1. exam_upskill 👍 1 Answered D
    D. Set the requirement level.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

← Back to AB-410 Study Guide