Make a dependent field required if answer is YES

I would like to have a Yes No radio button field on a form and if the answer is yes have a dependent field required. It seems the required flag only requires an answer on the Radio Button field. I tried setting both the radio button and the document field required but it let me submit without attaching a file. Specifically I am asking the question “do you have form xyz to attach?” if the answer is yes then I want the user to be required to attach a file. I have searched the community for awhile and do not see this question. Any help would be greatly apprecited

Hi @mikemiller,

I just try out your problem on my portal and it’s work perfectly

look out GIF

Form Dependent TRooInbound.gif

let us know you done something else

Team TRooInbound

Hi @mikemiller . I can confirm @TRooInbound 's finidngs. You will need to require both fields. If the answer is No the form will submit. If the answer is yes, the form will not submit unless a file is uploaded.

Thank you,

Ed Justen

Hi @edjusten,

Thanks for supporting
16x16_smiley-very-happy.png.png

Hi

Thanks for the response. I am not sure what I was doing wrong the other day but given your assurance it would work as I desired I returned to my form and tried again and it works the way I want it to. I appreciate the help.