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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


715 Views

Avatar
cumquat

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 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