I have a form where are many file fields. Some of the file fields are not required. If I upload all of them, then all is OK. But when I miss at least one which is not required, only these files where uploaded and names are in DB which were before the not selected file field.
No errors in debug, and all other fields are saved, just not the following files after the empty file field.
Should the upload work for many file fields if some of them are not filled?
Should I add somewhere some check if the file is not selected to not brake other uploads?
No errors in debug, and all other fields are saved, just not the following files after the empty file field.
Should the upload work for many file fields if some of them are not filled?
Should I add somewhere some check if the file is not selected to not brake other uploads?