Jump to:

17488 Posts in 4473 Topics by 1978 members

Archive

SilverStripe Forums » Archive » How to handle file upload in custom forms

Our old forums are still available as a read-only archive.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1157 Views
  • TomDude48
    Avatar
    Community Member
    2 Posts

    How to handle file upload in custom forms Link to this post

    I am trying to build a custom form that writes to a custom class Post (extends DataObject) with file and image uploading. I can't find a code example of how to write the form submit handler for the file form fields (FileField, FileIFrameField, SimpleImageField, ImageField)

    Does anybody know where some code examples are to follow or can provide the onSubmit method code?

    Regards,

    Tom

  • KatB
    Avatar
    Community Member
    94 Posts

    Re: How to handle file upload in custom forms Link to this post

    I would be interested in this as well!

    1157 Views
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.