Hi guys, I'm pretty new to programming and html design and would like to ask a question some might consider silly.
Here goes:
I have a registration form that is validated with jQuery validation plugin. Within this form, there is an email and password input which will be used as login credentials.
What I would like to do here is check whether this email is available in my database(MySQL). If it is, user will be prompted to insert another email. If it's not, user goes ahead to claim that email. How do I go about doing this? Should I include a form within a form? For example, should I have an embedded form with a "Check availability" button like Gmail registration?
Is there a standard procedure to this? Please suggest a good and easy method.