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

    Required fields aren't being completed

    Asked by kevinsuits on July 20, 2015 at 04:28 PM

    I have a form http://www.jotform.us/form/42376685219161 that is accepting submissions with blank required fields. Can you help me find out how to stop this from happening?

    Page URL:
    gci.edu(contact)http://www.jotform.us/form/42376685219161

    Submissions JotForm find www
  • Profile Image
    JotForm Support

    Answered by david on July 20, 2015 at 05:21 PM

    Hi,

    I checked your page and it appears as though you are using the regular script embed method.  There may be a script running in your page that is interfering with the validation script in your form when using certain browsers.  Try replacing your embed code with the iFrame code:

    http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code

    That should insulate your form from the rest of your page and allow for it to function properly. 

    If you still receive blank submissions after that change, let us know and we will be happy to have another look.

  • Profile Image

    Answered by kevinsuits on July 27, 2015 at 04:39 PM

    Thanks. I checked my code and it looks like I had an IFrame pointing to a php file on the server that contained the forms script. I've used the IFrame code from the Jotform form as you suggested though to see if this will help prevent required fields being missed. 

  • Profile Image
    JotForm Support

    Answered by david on July 27, 2015 at 05:45 PM

    Do let us know if they continue to come through without the required fields filled and we will take another look.

  • Profile Image

    Answered by kevinsuits on July 30, 2015 at 08:46 AM

    Hi. Unfortunately I'm still receiving emails with blank form data. It doesn't appear that the IFrame added into my page prevents this issue from happening. Do you know of anything else that could be causing it?

  • Profile Image

    Answered by kevinsuits on July 30, 2015 at 09:10 AM

  • Profile Image
    JotForm Support

    Answered by Charlie on July 30, 2015 at 10:50 AM

    Hi,

    Upon checking your form and after cloning it. I see there are problems in the conditional logic.

     

    Could you try fixing the errors in the conditions and try re-embedding the form. See if you'll still get empty fields after that.

     

    I also see that there are a couple of errors in the website itself. I'm not sure if fixing those errors will fixed the blank emails. But if you check the form itself, it is quite unlikely that your users can submit it with blank values. There are two validations that are being done, one is using Javascript and the other is using PHP.

     

    Do let us know if after fixing the conditions you'll still get blank emails, we'll try to investigate it further then.

  • Profile Image

    Answered by kevinsuits on August 18, 2015 at 10:18 AM

    I have corrected the conditional logic in the form, and I have not been able to find almost all of the errors in my browser I'm seeing in your screen shot so I can't find where those are coming from at your end. Still receiving forms with required fields missing. If there isn't a fix for this that we can find how do you handle refunds for prepaid subscriptions? Is is somehow prorated? 

  • Profile Image
    JotForm Support

    (Private)

    Answered by david on August 18, 2015 at 11:51 AM

    We do have a money back guarantee within the first 30 days, however, you are already 5 months into your subscription.

    Since the form itself will not allow submissions without the required fields filled it is likely one of the errors in your page is also causing errors with the validation.  If you open the developer console in any browser, you will see errors:

    If you could possibly find out which browser the person was using when they filled out the form with the blank email, we can test that to see if we can reproduce the issue.  However, with the amount of errors in your page, it is hard to tell what the cause may be.

  • Profile Image

    Answered by kevinsuits on August 18, 2015 at 03:58 PM

    These are images or links to files(lightbox or owlcarousel) that have been used before but have been moved or deleted making them no longer valid so they are not running in the first place. Are you saying that because there is a link to an invalid file on my web page it could be causing an issue with your form?

    Invalid links/references to missing .js .png or any other type of internal or external file causing a problem with your form script is very confusing to me.

    I've had scripts run that interfered with other scripts, but I've never seen a link to a missing .js file for example, interfere with a script. The possibility of this would be news to me.

    However I will clean these up and try you again soon... 

     

     

    Thanks

  • Profile Image
    JotForm Support

    Answered by david on August 18, 2015 at 05:12 PM

    Usually the iFrame solves the conflicts to begin with.  Blank emails usually are associated with blank submissions in addition to that so this is a rather odd case. 

    I cloned the form and sent several test submissions, all of which came through with the proper data.  If the form works on its own, but does not when embedded to a web page, the likely cause is something in the page itself.  Since I am not sure what the missing resources do or what else was dependent on those resources, it is hard to tell from our end what specifically the cause may be.