-
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, 7 months ago by Ravi.
- This discussion was modified 8 years, 7 months ago by Ravi.
- This discussion was modified 8 years, 7 months ago by Ravi.
- This discussion was modified 8 years, 7 months ago by Ravi.
- This discussion was modified 8 years, 7 months ago by Ravi.
- This discussion was modified 8 years, 5 months ago by Forcetalks.
- This discussion was modified 7 years ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
Why Force.com Is Winning the Cloud Platform War
Salesforce, which offers Customer Relationship Management (CRM) also offers a cloud-based computing service called the Force.com system. This system allows developers to build and host…
Artificial Intelligence in Salesforce Einstein - An Overview
To begin with artificial intelligence, it is the branch of computer science that focuses on the development of machine intelligence which makes machines work like…
Collections in Salesforce - A Brief Guide
Collections could be a sort of variable that can store numerous records. For case, List can store numerous Account object's records. Let us presently have…
Popular Salesforce Videos
TrailheaDX 2020 Opening Film | Salesforce
Now more than ever, Trailblazers are using the Salesforce Platform from anywhere in the world to collaborate, innovate, make a change, and build a brighter…
Salesforce Document Automation
Salesforce recently announced the release of an Intelligent Document Automation tool aimed at allowing healthcare and life sciences companies to digitize document-management processes. The tool,…
What is Apex? | Way to become a Salesforce Developer | Salesforce Development Tutorials
This video will provide you a complete path to become a Salesforce Developer. It includes very important and beneficial topics like Apex, Visualforce, Lightning. …