• Salesforce Developer

Salesforce Developers and Visualforce page

A Salesforce developer has written a Visualforce screen to make a new account with the following markup:

<apex:inputfield value="{!newAccount.website}"/>

The Visualforce screen has extra logic for validating the website url. How can the Salesforce developer add an error message next to the website field if the submitted value isn't a valid URL format?

A. he Salesforce developer can use Use ApexPages . addMessage (message)

B. he Salesforce developers can throw new SObj ectException(message).

C. he Salesforce developers program Account . website . addError (message)

D. The Salesforce developer can use Account . fields .website . addError (message)

Discussion: Add a message that throws a website error.


#salesforceappdeveloper #salesforcecustomforms


  • Salesforce Consultants
  • Salesforce Consultants
  • Salesforce Consultants