File Upload Field

If my file upload field is set to Required, but is conditionally hidden then my form won’t work on Submit button click, it actually does nothing. I can’t manually add a custom Validation as I can for other fields though I hope this is coming in the future. Any workarounds or my setup issues?