This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

arasnacis13731
arasnacis13731

Hello, I need send curent uploadet files in backend.

I can't get curent uploadet file object or disk name then I save form (in backend).

I use widget-fileupload : fileupload1: label: 'cunami.loans::lang.loans.file' mode: file useCaption: true span: full type: fileupload tab: 'cunami.loans::lang.loans.materials'

I try (before & aftersave) :

  • Input::file('fileupload1')
  • $this->attributes['fileupload1']
  • $_FILES
  • Get files from DB(system_files) - not work because new files not there at save moment.

Last updated

Crazymodder
Crazymodder

Did you inlcude this: enctype="multipart/form-data" in your form?

arasnacis13731
arasnacis13731

Crazymodder said:

Did you inlcude this: enctype="multipart/form-data" in your form?

How I can add this in backend form?

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.