Custom Sign Up form without duplicates

I am trying to create a sign up form that asks the user for: Name, Phone Number, Email, Password. The problem I run into is that only the Email is checked for duplicates in the database.

Is there a way I can have the Phone and Name checked and rejected if there is a duplicate found, same as done with the email?