You can track changes in the input field or check on sending:
$('form').submit(function(event){ alert("this gets called when form submitted here you can test differences"); }); $('form input[type="text"]').change(function(event){ alert("this gets called when and text input field gets changed"); });
even more you can check keyboard input for specific input fields:
$('form input[type="text"]').keydown(function(event){ alert("this gets called on key board input before the data is inserted in input field"); }); $('form input[type="text"]').keyup(function(event){ alert("this gets called on key board input after the data is inserted in input field"); });
Note. type="text" is just an example, which will probably also require your password and email fields to be included. (and select the checkboxes if you use the change event)
source share