Database Not Exist validation issue

Hi, I have added a server side validation using Database Not Exist for field which is String type field in the table, validation message is displaying as expected but the submit action still create the record. Field i have is Name(string), Code(string), IsOnline(boolean), i wanted to do like if the code is exist do not want to create the record. please help me. thanks

Community Page
Last updated: