Wordpress: Able to submit without completing the required fields

  • forexautotech
    Asked on February 7, 2015 at 11:06 PM

    Hi,

    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.

    Thanks,

    Natan

     

  • bkljaic
    Replied on February 8, 2015 at 7:29 AM

    Hi Natan,

    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.

    Wordpress: Able to submit without completing the required fields Image 1 Screenshot 20

    Hope this will help.

  • Jan
    Replied on February 8, 2015 at 11:40 AM

    Hi there,

    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.

    [embed]http://www.jotform.com/43149465046255[/embed]

    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

    Related articles:

    http://www.jotform.com/help/299-How-to-Embed-Form-to-Wordpress-com

    http://www.jotform.com/help/4-Adding-Forms-to-Wordpress-org-version

    http://www.jotform.com/help/174-Wordpress-Plugin-for-Wordpress-org-version

     

    Hope this helps. Let us know if you need any help.

    Thank you!

     

  • forexautotech
    Replied on February 8, 2015 at 11:25 PM

    Hi Jan,

    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.

    Thanks,

    Natan

     

     

  • Ashwin JotForm Support
    Replied on February 9, 2015 at 8:08 AM

    Hello Natan,

    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: 

    1) The javascript of the user's browser is disabled. The best way to solve this problem is to simply not allow form submissions. You should go ahead and add "NoScript" widget in form which will check if the browser JavaScript is disabled.

    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!

     

  • forexautotech
    Replied on February 10, 2015 at 12:43 AM

    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.

    Natan

     

  • Ashwin JotForm Support
    Replied on February 10, 2015 at 2:50 AM

    Hello Natan,

    You are welcome.

    Do monitor your submissions and get back to us if you see any issues.

    Thank you!