I am using the solution found here to show client side validation errors in a tooltip using the qTip jQuery plugin. This solution works great for client side validation but I would love to able to display server side validation errors in the same way. Does anyone know how to show server side validation errors in tooltips utilizing qTip?
Thanks
If there is a server-side validation error, when the page loads there will be a span element with the class ‘field-validation-error’ so we can simply loop over all elements with that class, extract the content or the error message, and display it in a tooltip.
Here is a blog post that explains how to do this in detail.