-
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 9 years, 10 months ago by
Ravi.
-
This discussion was modified 9 years, 10 months ago by
Ravi.
-
This discussion was modified 9 years, 10 months ago by
Ravi.
-
This discussion was modified 9 years, 10 months ago by
Ravi.
-
This discussion was modified 9 years, 10 months ago by
Ravi.
-
This discussion was modified 9 years, 7 months ago by
Forcetalks.
-
This discussion was modified 8 years, 2 months ago by
Forcetalks.
-
This discussion was modified 9 years, 10 months ago by
Log In to reply.
Popular Salesforce Blogs
Why and how do you migrate to Salesforce Lightning?
Why move to Salesforce Lightning right now? Salesforce Lightning is the Salesforce brilliant feature with interactive UI that provides intuitive tools and services to automate…
What is Lightning Notification Library in Salesforce
Learn all about Lightning's notification library in this blog. The notification library allows you to display messages in notes or toasts. This component requires API…
Vital Integrations for Your B2B Customer Portal
When running a B2B customer portal, it’s essential to create the right infrastructure around it to provide your business customers with necessary services such as…
Popular Salesforce Videos
Dean ERP : Salesforce ERP for Manufacturing and Distribution
Discover how Dean ERP, powered by Salesforce, is transforming the manufacturing and distribution industry with advanced ERP solutions. From real-time inventory management to seamless order…
Implement Time Based Workflow | Salesforce Tutorial
If you ask any Salesforce Person, which kind of workflow is difficult to understand and implement, the obvious answer will be the Time Based on…
How To Assign Leads in Salesforce | Overview of 3 Main Lead Routing Solutions
Salesforce offers several options on how to automatically assign incoming leads to a suitable sales manager. But what to choose: out-of-the-box features, external AppExchange app,…
