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,
Mo
Edit: I am using Silverstripe 3.1 with no modules installed.