[英]Jquery Validation Engine displaying errors in alert
In validation engine I am attempting to get the errors to display inside of a javascript alert box instead of in a small tooltip next to them. 在验证引擎中,我试图让错误显示在javascript警报框中,而不是在错误旁边的小工具提示中显示。
$("#main_form").bind("jqv.form.result", function(event, errorFound) {
if(errorFound)
alert("There is a problem with your form.\n\nPlease fill out all of the required fields.");
});
This is currently working to display that there is an error, but I'm trying to see if there's a way to list out the fields that have errors. 当前,这正在显示错误,但是我正在尝试查看是否有一种方法可以列出有错误的字段。
Thanks! 谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.