Required fields aren't being completed

  • kevinsuits
    Asked on July 20, 2015 at 4: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?

  • David JotForm Support
    Replied on July 20, 2015 at 5: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.

  • kevinsuits
    Replied on July 27, 2015 at 4: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. 

  • David JotForm Support
    Replied on July 27, 2015 at 5:45 PM

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

  • kevinsuits
    Replied on July 30, 2015 at 8: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?

  • kevinsuits
    Replied on July 30, 2015 at 9:10 AM

    Required fields arent being completed Image 1 Screenshot 20

  • Charlie
    Replied 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.

    Required fields arent being completed Image 1 Screenshot 30

     

    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.

    Required fields arent being completed Image 2 Screenshot 41

     

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

  • kevinsuits
    Replied 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? 

  • David JotForm Support
    Replied 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:

    Required fields arent being completed Image 1 Screenshot 20

    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.

  • kevinsuits
    Replied on August 18, 2015 at 3: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

  • David JotForm Support
    Replied on August 18, 2015 at 5: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.