[Solved] How to stop form submission if email address is already available in MySQL db ? [closed]
To achieve this you will need ajax, you have two options on the username field you can have an onblur event, then call a function that will check the username in the database using the onblur event. <input name=”username” type=”text” id=”username” onBlur=”checkAvailability()”> The onblur event occurs when an object loses focus. The onblur event is … Read more