-
Adding error messages to nonfield inputs
I am creating a Visualforce page to allow a user to create or edit a contact
record. The contact standard controller and a controller extension manage the page. The ID
of the account that the contact is associated with is entered via an apex:selectList
component, which is bound to a controller property rather than an sObject field.I want to display an error message under the apex:selectList component if the user does not select an account to associate with the contact.

-
This discussion was modified 10 years, 6 months ago by
Ravi.
-
This discussion was modified 10 years, 6 months ago by
Ravi.
-
This discussion was modified 10 years, 6 months ago by
Ravi.
-
This discussion was modified 10 years, 6 months ago by
Ravi.
-
This discussion was modified 10 years, 6 months ago by
Ravi.
-
This discussion was modified 10 years, 3 months ago by
Forcetalks.
-
This discussion was modified 8 years, 10 months ago by
Forcetalks.
-
This discussion was modified 10 years, 6 months ago by
Log In to reply.
Popular Salesforce Blogs
Salesforce Automation Process
Introduction - Salesforce provides multiple tools to automate your organization's business processes. These Salesforce Automation are - Don’t forget to check out: Salesforce Automation with Flow…
Navigation Service in Lightning Web Component | All You Need to Know
Use the navigation service lightning/navigation to navigate in Lightning Experience, Lightning Communities, and the Salesforce app. Only Lightning Experience, Lightning Communities, and the Salesforce app…
Get Started with Salesforce Scratch Org | The Developer Guide
Scratch Org Scratch org is a deployment of Salesforce code and information that is source-driven and disposable. Since scratch org is completely customizable, developers can…
Popular Salesforce Videos
Learn About the Before Trigger in Salesforce Flows
Here I am creating 2 scenarios for before - Save Updates in Salesforce Flows Salesforce Summer '20 Flow Builder feature. Creating or updating a record…
Dynamic Forms in Salesforce
Hello Everyone, in this video, we will talk about what the dynamic form is and how to work with the dynamic form in Salesforce. Watch…
Build Better with Salesforce Architects
A Salesforce Architect is a trusted advisor and leader who partners with business stakeholders and executives to design a vision and architecture for a solution…
