Hello ive hackeds away and got a solution to get it to work :
$(document).ready(function() {
jQuery.validator.setDefaults({
errorPlacement: function(error, element) {
error.appendTo(
element.siblings('span.valmessage') )//,
}
}
Hi jörn thanks for the reply;
OK yes i have seen than demo and ive played about with it as well but
it seems to only update the amount when you click the submit button. I
want it to update on every validation event (keyup, focus etc) so
that when you enter the correct information for 5 incorr
Take a look at this demo: http://jquery.bassistance.de/validate/demo/marketo/
The interesting part is here:
$("form").bind("invalid-form.validate", function(e, validator) {
var errors = validator.numberOfInvalids();
if (errors) {
var
3 matches
Mail list logo