-
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
How Can Salesforce Help Your Marketing Team?
Although CRMs have traditionally been linked to sales teams, Salesforce has gone further to provide great solutions for the Marketing department. Its Marketing Cloud platform…
How to Use Salesforce Chatter Better?
Here are 3 main STEPS, by which you can use SALESFORCE chatter more efficiently. Take a look… STEP 1: Follow relevant people and data Keep…
Import and Export Data from Salesforce using Talend
Talking about Salesforce the transfer of data does not fall under a very cumbersome category. There are myriad tools like Salesforce Dataloader.io which have rather…
Popular Salesforce Videos
Passed Salesforce Certification Exam in First Attempt
Salesforce certifications come in all shapes and sizes, so nearly anyone who works in Salesforce and wants to learn more about the tool can find…
How to Use Salesforce Process Builder 2017
Salesforce process builder is a powerful tool you can use to automate business processes. It has a simple interface that allows you to point and…