Prevent contact duplicates in custom registration?

Hello Brett,

Try following this guide on doing this here: https://www.wix.com/code/home/forum/community-discussion/search-for-duplicate-entires

What may be the problem is that #email is not a field in your database. Go to your collection, click view properties of the email field, and get the fieldValue. This is what should be there instead of #email.

Best,
Majd