Added condition to make date fields required but still receiving received submissions without date filled in.

  • BrentLamborn
    Asked on May 10, 2017 at 9:48 AM

    We've been using JotForms to create an employment application. In the past only the first employment field required the user to enter the start and end dates. Now for every employment section, if the company name field is filled then the start and end date field for that section is changed to required. I've double checked and I am unable to submit the form myself without filling in those fields. Still, 4 days after the change was made to require those fields we received an application with several of those required date fields missing despite the company name field filled in. It seems the users somehow accessed the old version of this form. How could this be possible?

  • Ashwin JotForm Support
    Replied on May 10, 2017 at 11:54 AM

    Hello BrentLamborn,

    I'm sorry for the trouble caused to you. 

    I did check your form and found that you have correctly added conditions to make date fields required if the company name is filled. I tried to submit your form without input in date fields, It shows the validation error message as expected. Please check the screenshot below:

    Added condition to make date fields required but still receiving received submissions without date filled in Screenshot 20

     

    Have you embedded your form in any webpage where you are having this issue with? Please share the webpage URL and we will take a look.

    We will wait for your response.

    Thank you!

  • BrentLamborn
    Replied on May 10, 2017 at 12:33 PM

    Hi Ashwin,

     

    No, the form is not embedded into any page. There is merely a link to the URL I provided on our Careers page here: http://www.bosselmancarriers.com/careers/fuel-transport-drivers.html

    The link in question being the one that says 'Apply Online for Fuel Transport Drivers'

  • Ashwin JotForm Support
    Replied on May 10, 2017 at 2:14 PM

    Hello BrentLamborn,

    I did test your form and I do not see any reason how the form can be submitted without filling the data in date fields if the "Company Name" is field. I did test this issue in multiple browser but I am unable to replicate the issue.

    Are you able to replicate the issue yourself?

    The only possibility for this issue is if the conditions does not trigger and this can only happen if the JavaScript of user's browser is disabled. I would suggest you to please add "NoScript" widget in your form. This widget will check user's browser and if the JavaScript is disabled, the entire form will not be visible to user.

    Thank you!

  • BrentLamborn
    Replied on May 10, 2017 at 2:37 PM

    No, I was also unable to replicate this which is why I was puzzled. I will leave the decision about adding NoScript to our HR department as it's their form, we in IT just have to maintain it.

     

    Thank you for your help with this!