-
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, 5 months ago by
Ravi.
-
This discussion was modified 10 years, 5 months ago by
Ravi.
-
This discussion was modified 10 years, 5 months ago by
Ravi.
-
This discussion was modified 10 years, 5 months ago by
Ravi.
-
This discussion was modified 10 years, 5 months ago by
Ravi.
-
This discussion was modified 10 years, 2 months ago by
Forcetalks.
-
This discussion was modified 8 years, 9 months ago by
Forcetalks.
-
This discussion was modified 10 years, 5 months ago by
Log In to reply.
Popular Salesforce Blogs
10 Reasons to Switch On Salesforce Lightning
It's been close to 12 months since Salesforce propelled its greatest advancement yet, Lightning. The achievement checked considerably more than a facelift for our items.…
Files, Attachments And Notes Salesforce Lightning Components | Force.com
Download Notes & Attachments from Force.com Site of Lightning Component Create an email alert that will be sent to the Opportunity Owner. This email will…
Top 5 Tips to Become a Salesforce Business Analyst In No Time
If you’re an inquisitive individual who enjoys data and always find yourself asking questions and finding out the why behind certain decisions, you might be…
Popular Salesforce Videos
Salesforce Winter 21 Release - Sneak Peek
The Winter ’21 release delivers innovations across the Salesforce Customer 360 platform to help connect you to your customers, from anywhere. Fancy table updates, live…
Salesforce Resume Review
Salesforce is a well-known company and leader in the cloud computing space so we would say it would be an asset on a resume. Thinking…
Volunteer Management in Salesforce Nonprofit Cloud
Volunteers are a crucial part of many nonprofit organizations. With Volunteer Management in Nonprofit Cloud, you can improve every step of the volunteer process from…
