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.


  • Profile Image

    WordPress js embedded jotform sometimes submits without required files being uploaded

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

    Page URL:
    http://www.100kmdemillau.com/inscriptions-100-km-de-millau/

    WP WordPress required field required
  • Profile Image

    Answered by Ben on December 07, 2014 at 05:05 AM

    Hi,

    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:

    [embed]http://form.jotformeu.com/form/31423919395359[/embed]

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

    - This is better than js embed since it is not susceptible to the javascript code on the WordPress and as there are no conflicts it would work properly.

    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/

    - Now to explain why they were able to submit without the upload of the required files. The issue is with the conflict of javascript codes rendering different issues practically each time.

    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.

    Best Regards,
    Ben

  • Profile Image

    Answered by yperie on December 07, 2014 at 07:14 AM

    ok, thank you for your reply. I embedded forms in iframes. We'll see :)

  • Profile Image
    JotForm Support

    Answered by Charlie 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.

    Thanks.