Jqueryフォーム検証ライブラリを使用して います
そして、それでファイル入力を検証する必要があります。私のコードは次のとおりです。
$.validate({
form : '#form',
modules : 'file',
validateOnBlur : false,
borderColorOnError : 'red',
inputParentClassOnError : 'error',
scrollToTopOnError: false,
errorMessageClass: 'text-error',
onError : function() {
},
onSuccess: function($form) {
// The input button is disabled if the form contains backend validations
$form.find('input[type="submit"]').unbind('click');
return true;
}
});
問題は、モジュール ファイルをロードしようとすると、JS エラーが発生することです。
TypeError: a.formUtils is undefined" in file.js
問題が何であるかを見つけることができません。
どんな助けでも大歓迎です!ありがとうございました。