Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Forms & Blueprints

IE10 file upload

Started by Don Katugampala 9 years ago · 5 replies · 891 views
9 years ago

<img src="//cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex036/uploads/getgrav/original/1X/0e15ab96759835ec2c56361f154c956fdeeb13d7.png" width="690" height="423">

Hello folks, I am afraid I am unable to use "file" field type with IE10. It fails to display the drop zone for file upload. Can anybody help me on this matter?

This actually occurred in a web project I am currently working on. So I did a fresh installation to check if I get the same error. This is the error I am getting from the "form.min.js"

> SCRIPT5022: No URL provided.
> form.min.js, line 1 character 11574

I am testing this on Win7, IE10.

Thanks!

last edited 07/04/17 by Don Katugampala
9 years ago

I've only ever tested this the admin with Edge (latest version). We really only test the admin with the latest version of the most common browsers.

IE10 is no longer in active development and it's not supported any more: https://en.wikipedia.org/wiki/Internet_Explorer_10

9 years ago

Hi @rhuk This is not actually an admin form, it's from the front end. I encounted this error while testing a job application form. I am using this filed to allow the user to upload the CV and cover letter. According to the requirements I have to make it compatible with IE10. Could you please suggest an alternative solution?

9 years ago

Oh sorry, my mistake! Didn't even notice in the screenshot.

Ok, front-end is another story, it should really not have a great deal of JS requirements but it does provide support for the dropzone-based uploader. I'm guessing that is what's causing the issue here.

The best thing to do is to create an issue on the form plugin github repo: https://github.com/getgrav/grav-plugin-form/issues

I'm hoping that @flavio or @djamil will be able to take a look because JS is not my area of expertise.

9 years ago

That's all right! Yeah I'll do that. Yes, dropzone based uploader is the issue. Thanks for the advice!

9 years ago

@rhuk hey I've been able to fix this issue by modifying the main.js file and adding a polyfill. should I make a pull request?

👍 1

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Ton Haarmans, 5 years ago
13 1136 4 months ago
Forms & Blueprints · by Hugo Oliveira, 5 months ago
0 61 5 months ago
Forms & Blueprints · by Flachy Joe, 6 months ago
9 134 6 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 110 7 months ago
Forms & Blueprints · by Julien, 7 months ago
10 129 7 months ago