As topic, if I tick on the check box, how to set the section/field become mandatory? If untick, the section/field will become Read-Only.
Example
Check box: Education_Planning
Field to mandatory 1: Name_of_Child
Field to mandatory 2: Age
Can I use this script?
if (this.rawValue == "01" || this.rawValue == "02" ) { //01, and 02 are LIC codes for and On and Off
util.enableField(Name_of_Child.somExpression, true);
color.markRequired(Name_of_Child);
}
else{
color.markUnRequired(Name_of_Child);
util.enableField(Name_of_Child, false);
}