function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nishad basha 7nishad basha 7 

Salesforce displays an error message when you try to enter a duplicate value and click on "submit ". But, you would not want the user to enter all values and get an error message

ManojjenaManojjena
Hi  Nishad,

Please explain your requirment  with bit more clarity . 
nishad basha 7nishad basha 7
Hi, manoj
 
          i  can enter  user duplicate values click on submit button. display the error meassage using try and catch exceptions. how to solve the above scenario can you  plz help me. i need user values with example
ManojjenaManojjena
Hi Nishad,

You want to catch the error in catch block or want to display the error in VF page.