How to prevent entering duplicate

Hi All, I have a grid and it that grid edit functionality is provided. I need to make sure that when user click on edit, the duplicate values should not be entered. Can anyone please help me out.

  Discussion posts and replies are publicly visible

Parents Reply
  • Ok, so here is the case,when a user click on edit button for a row in non editable grid, a new page layout appears as shown below:

    There we have applied validation for warning message for duplicate values. But the current edited value

    is also showing the warning message as it already exists and I do not want the message to be displayed for current edited value. Please let me know if I am able to make the requirement clear.