Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Multiform File Upload

Go to End



Community Member, 10 Posts

30 January 2014 at 12:13pm

Hey guys, I am working with the Multi step form module, all is working swmmingly, even created a summary page that allows users to return to specific steps to edit them.

I have one tiny issue, which for the site I am building is a rather large issue, where when working with upload fields don't actually link files to the DataObject created by the form.

I was wondering if there was a way to account for this. I have the file uploads on 6 steps, and these steps all have $has_many relations with a class that extends file. I thought this would work, but as I have noticed, the serialized data returns an array of ids. Ie:

 $data['Step']['StepFiles']['Files'] which have ids. 

Any help would be HUGELY appreciated.