keith1995
10-21-2009, 07:06 PM
Not sure if this is a question for the PHP or MySQL forum.
Anyhow, we have a submission form where the user enters details to create a profile of sorts. We only want to allow one profile per email address however our client does not want the user to enter all of their user details and then after submitting the form, get the message that they already have an account with the email address.
Our client has asked us to add the functionality that once an email address is added to the field, that it queries the database at that point to make sure there isn't another account with the same email address.
Our question is what would be involved to add this type of functionality, basically on text input/onchange?
Anyhow, we have a submission form where the user enters details to create a profile of sorts. We only want to allow one profile per email address however our client does not want the user to enter all of their user details and then after submitting the form, get the message that they already have an account with the email address.
Our client has asked us to add the functionality that once an email address is added to the field, that it queries the database at that point to make sure there isn't another account with the same email address.
Our question is what would be involved to add this type of functionality, basically on text input/onchange?