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.
WordPress js embedded jotform sometimes submits without required files being uploadedAsked by yperie on December 07, 2014 at 04:01 AM
Hello (sorry for my bad english)
There is a field in my form to upload files. This field is required. But there is a bug, some people can submit the form without joining the requested file.
My form is integrated in a Wordpress page.
Thank you for your help.
WP WordPress required field required
I took a look at your websites and I see that you are using WordPress 4.0.1 and that the jotform is embedded using the JS embed option.
Now, WordPress versions above v4 support jotform, so you should be able to show the jotform using this code instead:
Of course, you would need to replace the link above with a link to your own jotform that you want to embed (this time is the link for the jotform on the page, so you can just copy paste it).
In case that does not work for you for some reason there are few alternatives that I would suggest:
1. using iframe embed method
How to get the jotform iFrame Code (you should remove the script part after it so the code starts with <iframe> and ends with </iframe>)
2. using plugins
This plugin is created by our team: http://wordpress.org/plugins/embed-form
This ones is not created by us, but still is a very good choice (depending on your needs): https://wordpress.org/plugins/form-generator-powered-by-jotform/
What this means is that depending on the part of the code that loads faster for you your jotform might work properly, while something else not, or your jotform might loose some of its functionality such as resizing, conditions, required fields and so on.
Switching from the js embed code to iframes is the best alternative as it resolve the conflicts.
Do let us know how it goes for you and if you have any further issues.
ok, thank you for your reply. I embedded forms in iframes. We'll see :)
In behalf of my colleague, you're welcome.
Please do get back to us if the solution worked for you. We'll wait for your response.