PrepAway - Latest Free Exam Questions & Answers

How can a developer meet this requirement?

Universal Containers tracks reviews as a custom object in a recruiting application. An interview
score is tracked on each review record and should be numerical, so that hiring managers can
perform score calculations. The scores should be restricted to Integer values l through 5 and
displayed as a set of radio buttons.

How can a developer meet this requirement?

PrepAway - Latest Free Exam Questions & Answers

A.
Create the Interview Score field as a picklist, displayed as a radio button on the page layout

B.
Create a formula field that displays the interview score as a set of radio buttons

C.
Create a Visualforce component to display the interview score as a set of radio buttons

D.
Create the Interview Score field with a data type of radio button

4 Comments on “How can a developer meet this requirement?

  1. Random says:

    No such thing as a radio button field type within Salesforce. The correct answer would be “Create a visualforce component to display the interview score as a set of radio buttons”




    1



    0
  2. KC SFDC says:

    APEX:
    public class radioOptions {

    List ownershipValues;

    public radioOptions(ApexPages.StandardController controller){}

    public List getOwnershipValues(){
    if(ownershipvalues == null){
    ownershipValues = new List();
    for(Schema.PicklistEntry p : Account.Ownership.getDescribe().getPicklistValues()){
    if(p.isActive() == true){
    ownershipValues.add(new SelectOption(p.getValue(),p.getLabel()));
    }
    }
    }
    return ownershipValues;
    }
    }

    VF:




    0



    0

Leave a Reply