nerdexam
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)
  • A
    16% (5)
  • B
    6% (2)
  • C
    75% (24)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full PDII Practice