I think a "TFileValidator" will be great since HTML5 allow to have some basic informations of files (size, mime, extension,...) locally on the browser. The validator will check each input file :
size against TFileUpload->MaxFileSize
type/name against TFileUpload->Accept or TFileUpload->Attributes.accept.
In case of multiple file, the validator may indicate the names of files not valid.
I think a "TFileValidator" will be great since HTML5 allow to have some basic informations of files (size, mime, extension,...) locally on the browser. The validator will check each input file :
What do you think about?