-
present validation error under inputtext field in Salesforce
Hi, I have VF page with different types of fields and validation rules. When it comes to picklists etc I managed to get a nice 'validation' error message right under the effected field. However for input text fields it seems this is not supported.
In my custom controller I added the following line but the error is only shown inside the page message section (VF) and not like for other fields under the field itself
- ourcase.status.addError('you are not allowed to select this status);
- ourcase.Solution_Description__c.addError('Solution description is mandatory when closing a case');
The Solution_description__c field is a text field.
Log In to reply.
Popular Salesforce Blogs
Things to Consider Before Choosing CDP Implementation Partner
Are you looking for a Salesforce CDP integration and implementation services provider and don’t know how to choose the right CDP for your business, then…
Salesforce Data Cleansing Guide
The Salesforce data cleansing process involves identifying, correcting, and maintaining accurate and consistent data within the Salesforce platform. Data cleansing is essential to ensure the…
6 Best Resources To Get You Started With Salesforce Marketing Cloud
At DESelect, we help customers succeed with segmentation in Salesforce Marketing Cloud (SFMC), and the first place to start is a good foundation. Therefore, in…
Popular Salesforce Videos
Permissions In Salesforce Experience Cloud Explained | Salesforce Communities
A permission set is a collection of settings and permissions that give users access to various tools and functions. Permission sets extend users' functional access…
Salesforce Training Videos - Discussion on Admin Concepts
A Salesforce Admin is a business leader, deeply knowledgeable about how their company operates, intertwined in making all departments successful through process automations, and thus,…
Build an Experience with Salesforce Community Cloud: 4 Steps
Follow 4 fast steps to building a digital experience. Watch to learn how you can make CRM part of the way you deliver sites, forums,…