Salesforce
PDII · Question #239
A developer created a Lightning web component that uses a lightning-record-edit-form to collect information about Leads. Users complain that they only see one error message at a time about their…
The correct answer is C. Client-side validation. See the full explanation below for the reasoning.
Question
A developer created a Lightning web component that uses a lightning-record-edit-form to collect information about Leads. Users complain that they only see one error message at a time about their input when they save a Lead record. Which best practice should the developer use to perform the validations on more than one field, thus allowing more than one error message to be displayed simultaneously?
Options
- ACustom validation rules
- BNext Best Action
- CClient-side validation
- DApex REST
How the community answered
(32 responses)- A16% (5)
- B6% (2)
- C75% (24)
- D3% (1)
Community Discussion
No community discussion yet for this question.