File upload field is required but acting like it is optional

  • STEPllc
    Asked on November 29, 2017 at 1:46 PM

    I have a condition on my form that if you answer "yes" to the previous question, it shows and requires a file upload field. I have tested this and it looks as if it is required, but then it lets me proceed to the next page and submit the form without uploading a file. 

    undefined Screenshot 10undefined Screenshot 10undefined Screenshot 10

    Jotform Thread 1310231 Screenshot
  • aubreybourke
    Replied on November 29, 2017 at 3:33 PM

    I see you are using a condition to mark the upload field as required

    1511987303Microsoft Edge 29 11 2017 20 2 Screenshot 10

    If you disable (or delete) this condition

    1511987483Microsoft Edge 29 11 2017 20 3 Screenshot 21

    And open the properties (gear icon) for the upload field. You can mark it as required permanently there instead.

    1511987565Microsoft Edge 29 11 2017 20 2 Screenshot 32

    Then your form will work for you.

  • STEPllc
    Replied on November 29, 2017 at 4:18 PM

    Thanks for your help. That worked. 

    Can you explain why that condition was not working? 

  • aubreybourke
    Replied on November 29, 2017 at 5:30 PM

    Very welcome!

    Not sure why it wasn't working. Possibly because it is marked as required while it is hidden.

    You might get different behaviour if you show the field first, then require it.