No way to permit empty on file upload |
"permit_empty" is a rule for classic field form.
For file uploads, you need to use only Rules for File Uploads The rule to say if the file is required or not is : "uploaded". If the file is required, add the rule : uploaded[file_name]. If it is optional, just do not add this rule. |
Messages In This Thread |
No way to permit empty on file upload - by crustamet - 05-22-2020, 08:05 AM
RE: No way to permit empty on file upload - by mylastof - 12-24-2021, 08:27 AM
RE: No way to permit empty on file upload - by InsiteFX - 12-25-2021, 02:01 AM
RE: No way to permit empty on file upload - by aradono - 02-15-2022, 02:52 AM
|