What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
customers receiving an "this is an invalid file type." when submitting imagesAsked by tabitha on January 23, 2014 at 12:10 PM
I'm receiving complaints about customers receiving a "this is an invalid file type." error message when submitting images via the link below. They are .jpg images. The images seem to work just fine and jotform forwards them to me and I am able to download them into my system.
What is causing this error message? What can I do to eliminate it?
file type JotForm style size
JotForm Support Manager
I just made a test and it went through.
They are probably not uploading a jpeg or jpg filename, please double check if you have included all possible file extensions, for example if you got a non common one, you can just add it, comma separated.
Yeah, I received the test and had already checked for all possible file extensions, even adding upper case JPG and JPEG as suggested by another post.
Stuff seems to be coming through okay, but the error message is disconcerting. What else might be causing it?
JotForm Support Manager
I see you have embedded the form using the script type version in a webpage where you have also have jquery libraries. Can you replace it with the iFrame code?
I don't know much about iframe. What happens when you put something in iframe? We use iframe for one service on our site and we generally hate it.
Is all I'm doing is replacing the code on the page with the iframe code?
Have you tried to disable a Validate Image option? If not, it might be worth trying, since there is a chance that some browsers and/or files might fail that type of validation.
When you put something into iFrame it will be loaded as a separate resource, so that your web page scripts will not affect content within iFrame. It is a good way to solve conflicts between form and other scripts.
Yes, you will only need to replace our standard embed code with the iFrame version of code.
yes, just disabled the validate image option and the error message has gone away. We'll try that and see if it works or produces other problems.