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.

General Questions /

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

Mobile Module File Upload


Reply


369 Views

Avatar
cumquat

Community Member, 198 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 jquery.mobile 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.

Mick