           #$container = $(this).closest(".form-container-repeater")
           $container = $ruleElement
           rules = $.parseJSON($ruleElement.attr("data-rule"))
-          $(rules).each -> 
+          $(rules).each ->
             rule = this
             matchType = rule.match_type
             questionId = $triggerElement.closest('.form-container-entry-item').attr('data-question-id')

    #TODO set these to default values once we implement default values - kdh
    # container.find("input[type!=hidden]").val("")
    textFields = container.find(":text")
    textFields.each -> 
      if $(this).attr("data-default-answer") && $(this).data("default-answer") != "null"
        $(this).val($(this).data("default-answer"))
      else 
        $(this).val("")

    textAreas = container.find("textarea")
    textAreas.each -> 
      if $(this).attr("data-default-answer") && $(this).data("default-answer") != "null"
        $(this).val($(this).data("default-answer"))
      else 
        $(this).val("")

    # un-select dropdown

            matchingCondition = _.where(conditions, {question_id: Number(questionId)})
            if matchingCondition.length > 0
              if conditions.length > 1
                self.checkConditionsAndHideShow(conditions, ancestorId, $ruleElement, $container, inRepeater, matchType, rule)
              else
                hideQuestions = self.setHideQuestions(conditions[0], $triggerElement)
                if rule.type == "Hanuman::VisibilityRule"
