code: function validateForm(formEl, nativeSubmit) {
          if (formEl.checkValidity && !formEl.checkValidity()) {
              log("Form did not pass validation checks - will not upload.", "error");
              nativeSubmit();
          }
          else {
              return true;
          }
      }
docs: Return true only if the form is valid, or if we cannot make this determination. If the form is invalid, ensure invalid field(s) are highlighted in the UI.