diff --git a/clientside_validation_jquery/js/cv.jquery.validate.js b/clientside_validation_jquery/js/cv.jquery.validate.js
index 257e37d..446b442 100644
--- a/clientside_validation_jquery/js/cv.jquery.validate.js
+++ b/clientside_validation_jquery/js/cv.jquery.validate.js
@@ -2,7 +2,12 @@
  * @file
  * Attaches behaviors for the Clientside Validation jQuery module.
  */
+
+Drupal.cvValidatorObjects = {};
+
 (function ($, Drupal) {
+  'use strict';
+
   /**
    * Attaches jQuery validate behavoir to forms.
    *
@@ -13,8 +18,15 @@
    */
   Drupal.behaviors.cvJqueryValidate = {
     attach: function (context) {
-      $(context).find('form').each(function() {
-        $(this).validate();
+      $(context).find('form').each(function () {
+        if ($(this).data('submit-handler')) {
+          Drupal.cvValidatorObjects[$(this).attr('id')] = $(this).validate({
+            submitHandler: window[$(this).data('submit-handler')]
+          });
+        }
+        else {
+          Drupal.cvValidatorObjects[$(this).attr('id')] = $(this).validate();
+        }
       });
     }
   };
