AnsweredAssumed Answered

Make a box mandatory if either one of the two conditions met in decision box in multi-outcome task form

Question asked by isabelchen on Nov 14, 2018
Latest reply on Nov 20, 2018 by isabelchen

A multi-outcome task form has 3 choices in the decision box, A,B,C.  

 

One rule is to make a box mandatory if B is selected in decision box.

 

I got one formula working: 

isNullOrEmpty({Self}) && NWF$("[data-controlname='Decision'] input:checked").siblings("label").text() === "B"

 

The other ruls is - 

I need to set a rule on another box to make it mandatory if A or C is selected.  Can someone help me on the formula this rule?

 

Thanks in advance!

Outcomes