-
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, 1 month ago by Ravi.
- This discussion was modified 8 years, 1 month ago by Ravi.
- This discussion was modified 8 years, 1 month ago by Ravi.
- This discussion was modified 8 years, 1 month ago by Ravi.
- This discussion was modified 8 years, 1 month ago by Ravi.
- This discussion was modified 7 years, 10 months ago by Forcetalks.
- This discussion was modified 6 years, 5 months ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
Field Service Innovations with Einstein GPT and Salesforce CRM
Integrating cutting-edge technologies has become paramount in the rapidly changing environment of industries, where consumer satisfaction and operational effectiveness are crucial. The integration of Einstein…
Get Selected Records from ListView in Visualforce Page | GETRECORDIDS JavaScript | StandardSetController Salesforce
In this article, you will learn to use GETRECORDIDS function to get selected records IDs in Visualforce page. Requirement - Convert onclick JavaScript on custom…
Understanding Salesforce Chatter and Its Implementation
Chatter is a place for collaboration in Salesforce where you can post chatter feeds, share files, create new events, and create interactive user polls. In…
Popular Salesforce Videos
Schedule Apex Jobs with Lighting Web Components | Developer Quick Takes
Lightning Web Components gives you the ability to give your users a great user experience when interacting with Salesforce. In this example, we will take…
How to get a job in Salesforce industry or ecosystem? (For freshers) | 7 Step Guide
The most common question that is asked: How do I get a job? I have learned Salesforce and I know how to create applications on…
What is Apex? | Way to become a Salesforce Developer
Apex is a development platform for building software as a service (SaaS) applications on top of Salesforce's customer relationship management (CRM) functionality. Apex allows developers…