{"id":171,"date":"2015-12-27T23:28:59","date_gmt":"2015-12-27T23:28:59","guid":{"rendered":"https:\/\/www.suhaibmalik.net\/blog\/?p=171"},"modified":"2020-06-07T19:39:27","modified_gmt":"2020-06-07T19:39:27","slug":"jquery-based-form-validation-with-error-notification-on-dialog","status":"publish","type":"post","link":"https:\/\/www.suhaibmalik.net\/blog\/jquery-based-form-validation-with-error-notification-on-dialog\/","title":{"rendered":"jQuery based form validation with error notification on dialog"},"content":{"rendered":"<p>I was working on a task where I needed to have a jQuery based web form validation in which the missing fields error notification should be on dialog (fancybox).<\/p>\n<p>I choosed <a href=\"http:\/\/formvalidator.net\" target=\"_blank\" rel=\"noopener noreferrer\">form validator<\/a> as a plugin , it is an easy to use validation plugin and it covers wide range of validation functions, but the examples and the codes available on its website didn&#8217;t cover the one that is required to me. So I came up with a custom code for this.<\/p>\n<p>I have published my code on github which you can find <a href=\"https:\/\/github.com\/suhaib-malik\/form-validation-with-notification-on-model\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/suhaib-malik\/form-validation-with-notification-on-model\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/suhaib-malik\/form-validation-with-notification-on-model<\/a><\/p>\n<p>If you would like to see a live demo <a href=\"https:\/\/jsfiddle.net\/1qaw64o8\/\" target=\"_blank\" rel=\"noopener noreferrer\">click here<\/a><\/p>\n<p>Hope you will find thishelpful \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was working on a task where I needed to have a jQuery based web form validation in which the missing fields error notification should be on dialog (fancybox). I choosed form validator as a plugin , it is an easy to use validation plugin and it covers wide range of validation functions, but the<a href=\"https:\/\/www.suhaibmalik.net\/blog\/jquery-based-form-validation-with-error-notification-on-dialog\/\" class=\"more_link more_link_dots\"> &hellip; <\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.suhaibmalik.net\/blog\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suhaibmalik.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suhaibmalik.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suhaibmalik.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suhaibmalik.net\/blog\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":6,"href":"https:\/\/www.suhaibmalik.net\/blog\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":295,"href":"https:\/\/www.suhaibmalik.net\/blog\/wp-json\/wp\/v2\/posts\/171\/revisions\/295"}],"wp:attachment":[{"href":"https:\/\/www.suhaibmalik.net\/blog\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suhaibmalik.net\/blog\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suhaibmalik.net\/blog\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}