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.

All other Modules /

Discuss all other Modules here.

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

Multiform File Upload


Reply


358 Views

Avatar
an_Eskimo

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.