maxFilesCount
Uploaded files count should be less than defined value.
const validator = new JustValidate('#form');
validator.addField('#files', [
{
rule: 'maxFilesCount',
value: 2,
},
]);
Uploaded files count should be less than defined value.
const validator = new JustValidate('#form');
validator.addField('#files', [
{
rule: 'maxFilesCount',
value: 2,
},
]);