Prevent Duplicate Forms to be Submitted

I built a form Name, Number, Address etc. and I have a submit button. In case someone submits the form more than once, I would like the option to have a message stating that you have already registered. Therefore I will have to check the database for previous entries. How do I do that with Wix Code? Thanks in advance.

1 Like

Thank you so much Shan. This is exactly what I am trying to do. It does not work even after I changed the variables. I am not sure why. It seems that I cannot get the repeater to work.

HOW can it make it not duplicate capital letters and low letters

This example unfortunately doesn’t actual anymore. When you do use wix form(and not simple input+submit fields) after form submit data goes automatically to DB and no way to show error about duplication to front-end.