From ae59af3807bb14a18bb5c1af58c8bb6b3422b1cb Mon Sep 17 00:00:00 2001 From: Yannick Drant Date: Tue, 12 Apr 2016 14:24:30 +0200 Subject: [PATCH] Fix message when the form is valid Now display a correct message on the event "formvalid.zf.abide" --- docs/pages/abide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/abide.md b/docs/pages/abide.md index e7fc890d3..e2e75b9bd 100644 --- a/docs/pages/abide.md +++ b/docs/pages/abide.md @@ -181,7 +181,7 @@ $(document) }) // form validation passed, form will submit if submit event not returned false .on("formvalid.zf.abide", function(ev,frm) { - console.log("Form id "+frm.attr('id')+" is invalid"); + console.log("Form id "+frm.attr('id')+" is valid"); // ajax post form }) // to prevent form from submitting upon successful validation -- 2.47.2