Hi Patricia, With your description I guess you need to use "And" operatior in place of "Or" operator........if ((form1.subPage3.subApply25.ckbQuest26dol.rawValue == 0) && (form1.subPage3.subApply25.ckbQuest26call.rawValue == 0)) { xfa.host.messageBox("At lease one is required.", "Warning", "1") exit...