- kevinsuitsAsked 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?
- JotForm SupportdavidAnswered on July 20, 2015 at 05:21 PM
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:
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.
- kevinsuitsAnswered 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.
- JotForm SupportdavidAnswered 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.
- kevinsuitsAnswered 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?
- kevinsuitsAnswered on July 30, 2015 at 09:10 AM
- CharlieAnswered on July 30, 2015 at 10:50 AM
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.
Do let us know if after fixing the conditions you'll still get blank emails, we'll try to investigate it further then.
- kevinsuitsAnswered 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?
- kevinsuitsAnswered 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...
- JotForm SupportdavidAnswered 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.