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.
Wordpress: Able to submit without completing the required fieldsAsked by forexautotech on February 07, 2015 at 11:06 PM
My form has email and Terms of Service fields that are set as "Required". However, often I receive submissions where both fields are empty. What's went wrong? Please help.
required field wordpress required able to submit not filling up
I cloned your form and tried to reproduce the problem. Seams the form is working good. I checked and there is no possibility to submit form without filling required fields. I tested also notification which is sent after submitting form and I am getting inside of notification all parameters that are entered, also required fields. What i can suggest is to check your notification and parameters that are setup there.
In case that someone changed name of parameters inside of your notification settings, corresponding to HTML input name field of form, notification may have empty fields.
Hope this will help.
I checked your website and I saw that you are using Wordpress version 4. The stand alone JotForm form works fine with the required field but when you embedded it on your Wordpress site, it disabled the scripts that validates it.
You can try using this embed code in Wordpress.
If it doesn't work, please try to embed the form using iFrame Method.
You can also try using this plugin: http://wordpress.org/plugins/embed-form
Hope this helps. Let us know if you need any help.
Thanks for your reply. I am trying iFrame Method as you suggested, but I have to say that neither plugin nor [embed] option work. I mean they don't work at all. The plugin gives me a Jotform button but it is unclickable. The [embed][/embed] pair result in just slapping the form's url on the webpage. You guys really need to address these issues.
Regarding iFrame method. I understand that if I use this method the form's validation scripts are not disabled? The important thing I want to understand: these empty e-mail submissions, are they result of someone trying to hack my form or is it a form code glitch of some sort. I do get at times proper emails, but most of the time it is empty. I am checking now if they all come from the same IP.
I'm sorry for the trouble caused to you.
I did check your form and found that you are now using your form's iFrame embed code. You embedded form seems to work as expected and I was unable to submit without input in required fields. The field validation is working just fine.
When the validation is not triggered in form, there can be two reasons:
2) There is a code conflict between JotForm script and other script available in your web page. The best way to solve this issue is to embed your form using its iFrame embed code which will resolve the conflict issue.
Hope this helps.
Do get back to us if you are receiving spam submissions and we will explain you way to resolve that too.
Thank you all for your replies. I implemented both items: use iFrame to embed the form and added NoScript to the form itself. I will see how it goes.
You are welcome.
Do monitor your submissions and get back to us if you see any issues.