nerdexam
Salesforce

CRT-450 · Question #53

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…

The correct answer is A. <ligthning-input-field field-name="Salary__c">. See the full explanation below for the reasoning.

Question

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 levelpermissions on salary__C?

Options

  • A<ligthning-input-field field-name="Salary__c">
  • B<lightning-formatted-number value="Salary__c" format-style="currency"> </lightning-formatted-
  • C<lightning-input type="number" value="Salary__c" formatter="currency"> </lightning-input>
  • D<lightning-input-currency value="Salary__c">

How the community answered

(32 responses)
  • A
    84% (27)
  • B
    3% (1)
  • C
    9% (3)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice