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
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
Please explain your requirment with bit more clarity .
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
You want to catch the error in catch block or want to display the error in VF page.