• Salesforce Developer

Salesforce Developer and Visualforce Pages


A Salesforce developer has developed a Visualforce page to create a new Contact with the following markup: <apex:inputfield value="{!newContact.website}"/> The Visualforce page has extra logic for validating the website field. How can the developer add an error message next to the website field if the submitted value isn't valid?

A. Salesforce development use Contact . website . addError (message) B. Salesforce developers can use throw new SObj ectException(message). C. Salesforce developer can use Contact . fields .website . addError (message) D. Salesforce development can use ApexPages . addMessage (message)

Discussion: Use the add Error message to your code.

#SalesforceDeveloper #SalesforceDevelopment

#salesforcedeveloper #SalesforceDevelopment

310-722-1447

  • Salesforce Consultants
  • Salesforce Consultants
  • Salesforce Consultants

©2018 BY SALESFORCE ADVISORS.