Avatar

Level 7

To make fields mandatory you can use the validate.nullTest function. So in your case you could put in the click event of the Yes radio button:

(in formcalc)

TextField1.validate.nullTest = "error" (replacing TextField1 with whatever you have called your field).

To turn satisfy the nullTest you put in the exit event of TextField1:

if ($.isNull == 0) then

$.validate.nullTest = "disabled"

endif

The same principle applies for both your situations.