-
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 8 years, 8 months ago by Ravi.
- This discussion was modified 8 years, 8 months ago by Ravi.
- This discussion was modified 8 years, 8 months ago by Ravi.
- This discussion was modified 8 years, 8 months ago by Ravi.
- This discussion was modified 8 years, 8 months ago by Ravi.
- This discussion was modified 8 years, 6 months ago by Forcetalks.
- This discussion was modified 7 years, 1 month ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
How to integrate Salesforce Streaming API with .NET Core Application?
This post has been written for the developers who are looking to fulfill the knowledge gap of the .NET core and Salesforce integration via streaming…
What is Salesforce? A Definitive Guide!
Salesforce is a type of software that includes CRM management and workforce management and enables us to manage customer relationships, customer service management, marketing campaigns,…
Salesforce Nonprofit Cloud Winter‘25 Highlights
As the chill of winter draws nearer, Salesforce is turning up the heat with the Winter ‘25 release for Nonprofit Cloud! Packed with exciting features,…
Popular Salesforce Videos
The Power Of Displaying Salesforce Data in Google Maps
Ever wondered where on earth your Leads are? Or your customers and prospects for that matter? Well here’s the way to find out. Display your…
Signing Up for a Free Salesforce Account
From Salesforce instructor, Become a Salesforce Expert. Sign up for a free Salesforce account and learn more about this technology. Mike Wheeler - http://mikewheelermedia.com
Introduction to Salesforce Apex for Developers
Have you ever wanted to write a Trigger in Salesforce? This workshop is designed for people who would like to begin learning the basics of…