Hope You have the code on the check box change event, which decides the need of required or not.if(this.rawValue =='1'){TextField1.mandatory = "error";TextField2.mandatory = "error";TextField3.mandatory = "error";Gender.mandatory = "error";Gender.border.edge.color.value = "225,0,0";}else{TextField1....