I am trying to plan a way to negate the update process if the value the user has entered on a new record would be a duplicate.
This is in a custom editor on a popup so I could have an Ajax action when the user exits and/or changes the field value but I am not sure how to check if it is in edit or insert mode inside the custom editor.
Is there a suggested pattern to use here for this?
Thanks