CMS MADE SIMPLE FORGE

SmartForms

 

[#12768] accepted file types being rejected on upload

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Sat Dec 21 17:12:30 -0500 2024

Assigned To:
Version: 2.1.0
CMSMS Version: 2.2.21
Severity: None
Resolution: None
State: Open
Summary:
accepted file types being rejected on upload
Detailed Description:
If your file input field has accept='pdf' (for example), and you add the "Ensure
all uploads conform to specifications in attributes" Validation, the validator
will reject PDF as invalid. Adding data-smtfm-accept='pdf' (or ".pdf", it's not
clear which it wants) doesn't fix it.


History