I’m using jquery validation plugin (which im fairly new to) and I need the error message to be displayed along with another custom image next to the label, if the field is in error.
This is what I have currently:
messages: {
fname: "Enter your firstname",
lname: "Enter your lastname"
},
errorPlacement: function(error, element) {
error.appendTo( element.parent("td").next());
},
how do i add code to also append an image with the text?
Here is the example
And the code for those example
Also the piece of CSS