AnsweredAssumed Answered

Dynamic workflow form

Question asked by wadsok on Sep 8, 2014
Latest reply on Sep 25, 2014 by aaditvmajmudar
Hello,

I have a form with file upload and text field.

What I want is to make text field mandatory if any file is selected.

What I already tried - doing it via associations (doesn't work), trying to create "event" on file upload by creating custom field validator for file upload field and changing text field mandatory flag from there (not documented good enough, all relevant questions in forum not answered. Though this is still promising.)

Can anyone suggest a way to do what I want with JS? Examples are highly appreciated (though honestly - not expected).

If no one has suggestions: Is it possible to do it via validator on file upload field? Any example on how I could create custom field with both fields in it and action I want?

Outcomes