Hi, I have checked similar questions but I think my query is different.
I have just a form, not an app. It has Username, Email and Phone No on it. The users fill in the form and submits it. I want the values to go into the database only if the email and phone numbers are unique. If the phone number or email exists in the database the submission should fail with an appropriate message.