I am familiar with the database a bit, I was wondering how I can disable this button, and as the user enters it, it will be checked and change the button to enable for sending.
Form Example:
<form data-abide> <div class="name-field"> <label>Your name <small>required</small> <input type="text" required pattern="[a-zA-Z]+"> </label> <small class="error">Name is required and must be a string.</small> </div> <div class="email-field"> <label>Email <small>required</small> <input type="email" required> </label> <small class="error">An email address is required.</small> </div> <input id="contactsubmit" class="button" type="submit" value="SEND" disabled> </form>
Disable:
<input id="contactsubmit" class="button" type="submit" value="SEND" disabled>
Now that the user continues to print, I would like it to be checked, and if everything is correct, turn on the button, I know that I can do this with jQuery .change() . But is there any standard way to execute?
I have done a lot of research, but I donβt see what I'm trying to achieve, I can do this with authentication, but not be based.
UPDATE
Here is the plugin that I use with bootstrap to achieve what I want, Validator.js .
Xrait source share