- yperieAsked 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.
- BenAnswered on December 07, 2014 at 05:05 AM
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.
- yperieAnswered on December 07, 2014 at 07:14 AM
ok, thank you for your reply. I embedded forms in iframes. We'll see :)
- CharlieAnswered on December 07, 2014 at 08:53 AM
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.