Validates the uploads section of MishkaGervaz form DSL.
Four checks, in order:
fieldreference (when set) names a field declared in the form.acceptis a valid HTML accept string or list of MIME types / extensions (e.g."image/*,.pdf"or[".pdf", "image/*"]).- When
externalpoints to a module, that module is loadable. Anonymous-function externals are passed through. - When
writeris set, the writer module is loadable.
See MishkaGervaz.Form.Dsl.Uploads,
MishkaGervaz.Form.Entities.Upload,
MishkaGervaz.Form.Verifiers.Helpers, and sibling verifiers.