Jump to:

10990 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Multiform File Upload

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 225 Views
  • an_Eskimo
    Community Member
    10 Posts

    Multiform File Upload Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.