I have a pro app using allowed email list.
I want to allow my existing users to invite new users onto the app.
My idea is that I’ll present them with a form and ask for a name and email address.
This will add the potential new user to the allowed email list, and trigger an email to the new user with instructions.
I’m fairly confident that I can handle most of this, but the one thing that has me stumped is how to prevent my users from creating duplicates in the allowed email list (and prevent it happening in real time).
Ideally what I’d want to do is prevent them from submitting the form if it will create a duplicate email address.