Skip to content

Allows positioning of error messages to be configured via ajax submit.

Tim Ackroyd requested to merge feature/customisable_error_placement into master

Allows the error placement for jQuery validate to be configured when using ajax submit.

Eg.

$('form:not(.no-ajax)').ajax_submit({
	error_placement : function(error, element)
	{
		error.appendTo( element.closest('label') );
	}
});

Merge request reports