Access TemporaryUploadedFile in mutateFormDataBeforeCreate
How do I access a FileUpload field's TemporaryUploadedFile in the mutateFormDataBeforeCreate method? The $data array that gets passed to that function contains the file's string name, not the temporary object. I tried using
$this->form->getComponent()
to get the FileUpload field but I can't seem to get it that way3 Replies
storeFiles(false) on the upload
Solution
thanks!