             if $conditionElement.is(":checkbox")
               # limit binding of each checkbox if data-label-value and answer are the same-kdh
               if rule.type != 'Hanuman::CalculationRule'
-                $conditionElement = $conditionContainer.find(".form-control[data-label-value='" + condition.answer.replace("/","\\/").replace("'","\\'") + "']")
+                $conditionElement = $conditionContainer.find(".form-control[data-label-value='" + this.answer.replace("/","\\/").replace("'","\\'") + "']")
 
               self.bindConditions($conditionElement, rule, $ruleContainer)
             else

      $(rules).each ->
        rule = this
        matchType = rule.match_type
        $(rule.conditions).each ->
          condition = this
          conditionQuestionId = condition.question_id
          # the container for the rule element(s), could be a single element contained in form-container-entry-item or multiple in form-container-repeater
          $ruleContainer = $ruleContainer
          # the condition container

            problemWithCL = true

          # deal with any condition, once we get a hide_questions = false then we dont need to run through the rules
          hideQuestions = self.setHideQuestions(this, $conditionElement)


          ancestorId = rule.question_id
