Conditional mandatory/required form field & document upload

I have a form with two fields:

  • URL
  • Doc upload

I need to make the URL field mandatory/required unless the user uploads a document. But the conditional function doesn’t seem to work with documents, i.e. I add a document in the form but the URL field is still marked as mandatory - I guess this is because the document record has not yet been created?

Any way round this? I know I could put the other way around, just makes slightly less sense from a UX perspective (but will do that if no other option).

Thanks!

1 Like

@darragh would it just be easiest for me to do this the other way around for now?

I think so @lukebranford - but we’ll definitely look into the ability to use file-fields in conditions

1 Like