File upload field is required but acting like it is optional

  • Profile Image
    STEPllc
    Asked on November 29, 2017 at 01: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. 

    undefinedundefinedundefined

  • Profile Image
    aubreybourke
    Answered on November 29, 2017 at 03:33 PM

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

    1511987303Microsoft Edge 29_11_2017 20_2

    If you disable (or delete) this condition

    1511987483Microsoft Edge 29_11_2017 20_3

    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

    Then your form will work for you.

  • Profile Image
    STEPllc
    Answered on November 29, 2017 at 04:18 PM

    Thanks for your help. That worked. 

    Can you explain why that condition was not working? 

  • Profile Image
    aubreybourke
    Answered on November 29, 2017 at 05: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.