Restrict duplicate record

Chetan Sharma asked on February 18, 2015 16:34

Hello,

Is there any way in Custom tables to have my own field that I can make sure is not duplicate. My requirement is that I need to have usernames which will be unique. i could not find right field type in Kentico.

Thanks Chetan

Recent Answers


Brenden Kehren answered on February 18, 2015 17:02

Create a custom event for that custom table item type and "throw" an exception if it's not unique and it will bubble up to the UI with the exception text you enter.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.