Hi,Try this code if(form1.Page1.CBoxNo1.rawValue == "1" && form1.Page1.CBoxNo2.rawValue == "1" && form1.Page1.CBoxNo3.rawValue == "1" && form1.Page1.CBoxNo4.rawValue == "1" && form1.Page1.CBoxNo5.rawValue == "1"){form1.Page1.CheBoxfield.fillColor = "125,125,125";}else{form1.Page1.CheBoxfield.fillCol...