code: function($form) {
          var $form = $form, _id = null;
          if ( typeof($form) == 'undefined' ) {
              if ( typeof(this.target) != 'undefined' ) {
                  _id = this.target.getAttribute('id');
              } else {
                  _id = this.getAttribute('id');
              }
  
              $form = instance.$forms[_id]
          } else if ( typeof($form) == 'string' ) {
              _id = $form;
              _id = _id.replace(/\#/, '');
  
              if ( typeof(instance.$forms[_id]) == 'undefined') {
                  throw new Error('[ FormValidator::resetErrorsDisplay([formId]) ] `'+$form+'` not found')
              }
  
              $form = instance.$forms[_id]
          }
          //reseting error display
          handleErrorsDisplay($form['target'], []);
  
          return $form
      }
docs: Reset errors display
  
  @param {object|string} [$form|formId]