PL-400 · Question #295
Case Study 6 - Proseware, Inc Background Proseware, Inc. is an industry leading software company with several thousand employees. The company has had some trouble recruiting talented employees…
The correct answer is B. Make the field read-only. To prevent users from modifying a field's value, the most direct and effective approach is to make the field read-only.
Question
Options
- ACreate a business rule to clear the field value.
- BMake the field read-only.
- CCall the setSubmitMode('never') function on the field.
- DDisable existing event handlers on the field.
How the community answered
(47 responses)- A6% (3)
- B77% (36)
- C15% (7)
- D2% (1)
Why each option
To prevent users from modifying a field's value, the most direct and effective approach is to make the field read-only.
Creating a business rule to clear the field value would erase data, not prevent modification while retaining the current value.
Making a field read-only directly prevents users from modifying its value on a form, which is a a standard configuration option in Dynamics 365/Power Apps.
Calling setSubmitMode('never') on the field prevents its value from being submitted, but it doesn't prevent a user from typing into or visually interacting with the field on the form.
Disabling existing event handlers might stop some custom logic, but it doesn't inherently make a field read-only; other mechanisms would still allow editing.
Concept tested: Form Field Configuration (Read-only)
Source: https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/set-field-properties-legacy
Community Discussion
No community discussion yet for this question.