code: function defaultOnInputValidationResult(el, validationsResult, validatorName, stateEnum) {
  
          var errorDiv;
  
          // for radio buttons and checkboxes:  get the last element in group by name
          if ((el.nodeName.toLowerCase() === 'input' && (el.type === 'radio' || el.type === 'checkbox'))) {
  
              var getAllByName = el.parentNode.querySelectorAll('input[name="' + el.name + '"]');
  
              el = getAllByName.item(getAllByName.length - 1);
          }
  
          if (validationsResult.stateEnum === stateEnum.invalid) {
  
              errorDiv = getExistingErrorDiv(el);
              if (errorDiv) {
                  errorDiv.textContent = validationsResult.message;
              } else {
                  appendNewErrorDiv(el, validationsResult.message);
              }
  
              el.style.borderStyle = "solid";
              el.style.borderColor = "#ff0000";
              $$.addClass(el, "vivalid-error-input");
          } else {
              errorDiv = getExistingErrorDiv(el);
              if (errorDiv) {
                  errorDiv.parentNode.removeChild(errorDiv);
                  el.style.borderStyle = "";
                  el.style.borderColor = "";
                  $$.removeClass(el, "vivalid-error-input");
              }
          }
  
          function getExistingErrorDiv(el) {
              if (el.nextElementSibling && el.nextElementSibling.className === "vivalid-error") {
                  return el.nextElementSibling;
              }
  
          }
  
          function appendNewErrorDiv(el, message) {
              errorDiv = document.createElement("DIV");
              errorDiv.className = "vivalid-error";
              errorDiv.style.color = "#ff0000";
              var t = document.createTextNode(validationsResult.message);
              errorDiv.appendChild(t);
              el.parentNode.insertBefore(errorDiv, el.nextElementSibling);
          }
  
      }
docs: The default {@link _internal.onInputValidationResult onInputValidationResult} used when {@link vivalid.Input} is initiated without a 3rd parameter
  @name defaultOnInputValidationResult
  @function
  @memberof! _internal