Jump to:

23576 Posts in 19403 Topics by 2893 members

General Questions

SilverStripe Forums » General Questions » Frontend Upload field and AJAX

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 211 Views
  • Mo
    Community Member
    509 Posts

    Frontend Upload field and AJAX Link to this post

    Hi all,

    I am trying to load an UploadField via AJAX into a frontend view. I have added (I belive) all the JavaScript dependencies (jquery, jquery ui, entwine, uploadfield, etc) via requirements, but the relevent JavaScript simply fails to execute when the field is loaded.

    I have tried adding the field to the page's form manually then refreshing the field and relfreshing the page and then the field works as expected, so I am assuming I have to add an entwine initiliser to my AJAX callback?

    If so, any ideas what?

    Many thanks in advance,


    Edit: I am using Silverstripe 3.1 with no modules installed.

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.