I have to create a custom validator for checking duplicate content and the the error message should show the duplicate id also. From the database I am getting the result as 0 if