PL-400 · Question #213
You are creating a canvas app for a bank. Consumers will enter information into the app when they apply for a loan. The input form for the app must display fields to prompt the consumer for their…
The correct answer is D. Add a formula to the LoanAmount field. In Power Apps canvas apps, UI behavior like background color changes must be implemented using Power Fx formulas directly on control properties. You would set the Fill property of the column/container to an expression such as: If(Value(LoanAmount.Text) > 5000, Red, Green). This…
Question
Options
- ACreate a Power Automate flow.
- BConfigure field properties.
- CAdd a business rule to the form.
- DAdd a formula to the LoanAmount field.
How the community answered
(16 responses)- A6% (1)
- C6% (1)
- D88% (14)
Explanation
In Power Apps canvas apps, UI behavior like background color changes must be implemented using Power Fx formulas directly on control properties. You would set the Fill property of the column/container to an expression such as: If(Value(LoanAmount.Text) > 5000, Red, Green). This formula evaluates immediately as the user types, satisfying the 'immediately after entry' requirement. Power Automate (A) is asynchronous and not suited for real-time UI reactions. Business rules (C) are a model-driven app feature and do not control canvas app visual properties. 'Configure field properties' (B) alone does not support conditional logic for dynamic color changes.
Community Discussion
No community discussion yet for this question.