nerdexam
Salesforce

PDII · Question #348

PDII Question #348: Real Exam Question with Answer & Explanation

Sign in or unlock PDII to reveal the answer and full explanation for question #348. The question stem and answer options stay visible for context.

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 trying to save a Lead record. What is the recommended approach to perform validations on more than one field, and display multiple error messages simultaneously with minimal JavaScript intervention?

Options

  • AExternal JavaScript library
  • BApex trigger
  • CValidation rules
  • DTry/catch/finally block

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PDII Practice