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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Mobile Module File Upload

Go to End



Community Member, 201 Posts

26 January 2013 at 10:44am

Hi there,

Im working on a mobile site so have installed the mobile module, all good looks lovely. Using the default mobile theme with grabs the js files and i like the look as its just like an app.
The form i have all works apart from the file upload, i need to add a picture with the form. If i use the blackcandy theme everything works fine including the file upload.
I have possibly read or dreamt not sure, that jquery mobile uses ajax and therefore there is a security feature that stops you uploading files or something.
One am i going mental and two how do i get around this issue, im using just a standard form field

new FileField('Photo', 'Picture'),

any pointers please.