Microsoft Power Platform Fundamentals — Question 133
You are creating a canvas app to enable users to order tickets. You create an input field for users to input the number of tickets to order.
Users must order a maximum of four tickets and a minimum of two tickets. If a user enters a number except 2, 3, or 4, the input field must display in red. If a user enters the numbers 2, 3, or 4, the input field must display in green.
You need to color the input field based on the user input.
What should you use?
Answer options
- A. formula
- B. gallery
- C. connector
- D. calculated column
Correct answer: A
Explanation
The correct answer is A, 'formula,' because it allows you to create conditional logic to change the appearance of the input field based on the user's input. Options B (gallery) and C (connector) do not pertain to altering input field colors, and D (calculated column) is used for data storage rather than dynamic input validation.