Skip to main content

minFilesCount

Uploaded files count should be more than defined value.

const validator = new JustValidate('#form');

validator.addField('#files', [
{
rule: 'minFilesCount',
value: 2,
},
]);

Demo