Salesforce
PDII · Question #92
A developer needs to create a Lightning page for entering Order Information. An error message should be displayed if the zip code entered as part of the Order's shipping address is not numeric. What…
The correct answer is D. Use the ui:inputDefaultError tag to display errors. See the full explanation below for the reasoning.
Question
A developer needs to create a Lightning page for entering Order Information. An error message should be displayed if the zip code entered as part of the Order's shipping address is not numeric. What is a recommended way for the error message be displayed to the end user?
Options
- AUse the apex:message tag to display errors
- BUse the aura:component tag to display errors
- CUse the ui:outputText tag to display errors
- DUse the ui:inputDefaultError tag to display errors
How the community answered
(27 responses)- A11% (3)
- B4% (1)
- C7% (2)
- D78% (21)
Community Discussion
No community discussion yet for this question.