A developer must create a Lightning component that allows users to input Contact record
information to create a Contact record, including a Salary c custom field.
What should the developer use, along with a lightning-record-edit-form, so that Salary__c
field functions as a currency input and is only viewable and editable by users that have the
correct field level permissions on Salary _c?
A. A.
B. B.
C. C.
D. D.
A. A.
Explanation:
To create a form that:
Lets users input data for a Contact record (including a custom Salary__c field),
Automatically renders currency formatting for a Currency field, and
Respects field-level security (FLS) (so only users with access can view or edit it),
You should use the component inside a .
Why C is correct:
automatically determines the field type (like Currency for Salary__c) and renders the appropriate input UI.
It also respects FLS — users without view or edit permission won’t see or be able to change the field.
It’s the recommended way to include fields in lightning-record-edit-form.
The other options (A, B, D):
Likely involve either manual input fields like or custom logic, which:
Do not automatically respect FLS, and
Require extra work to validate and submit data properly.