Display errors besides input fields and also in a vallidation summary using jquery validate plugin
Using jQuery validation plugin, how can I configure it so that I have the error labels appear beside the input fields, and also inside a validation summary?
I can make them either display besides the input fields OR inside a validation summary, but not in both. I'd like to have the error messages duplicated (one for the input field and another for 开发者_Python百科the validation summary).
Is it possible? If yes, how?
Thanks
You can control error placement using the following options
errorElement
errorLabelContainer
errorContainer
showErrors
View Docs Here http://docs.jquery.com/Plugins/Validation/validate#toptions
These docs have demos and example code.. Its very helpful.
精彩评论