0
我使用formvalidation.io與Bootstrap的形式,但我有一些輸入,必須驗證,但不是由於某種原因。一切工作,除了這個輸入,只有當生成時,如果他們與請求工作正常。formvalidation.io處理生成的代碼
驗證規則
'file_title[]': {
message: 'O título é inválido',
validators: {
notEmpty: {
message: 'O título é obrigatório e não pode estar vazio'
},
stringLength: {
min: 1,
max: 100,
message: 'O título deve ter pelo menos 1 caracter e no máximo 100 caracteres'
}
}
},
形式輸入產生
<td><div class="form-group">
<input type="text" onchange="file_populate_json()" placeholder="Título" name="file_title[]" value="" class="form-control" />
</div></td>
我怎麼能去呢?