 
   #hide or show questions
   hideShowQuestions: (hide_questions, ancestor_id, $ruleElement, $container, inRepeater) ->
-    all_questions = $($container).find(".form-container-repeater[data-question-id=" + ancestor_id + "],[data-question-id=" + ancestor_id + "],[data-ancestor=" + ancestor_id + "]")
+    #all_questions = $($container).find(".form-container-repeater[data-question-id=" + ancestor_id + "][data-entry=],[data-question-id=" + ancestor_id + "],[data-ancestor=" + ancestor_id + "]")
 
     # deal with container
-    unless $container.hasClass("form-container-survey")
-      if hide_questions
-        $container.addClass("conditional-logic-hidden")
-        self.clearQuestions($container)
-      else
-        $container.removeClass("conditional-logic-hidden")
+    #unless $container.hasClass("form-container-survey")
+    if hide_questions
+      $container.addClass("conditional-logic-hidden")
+      self.clearQuestions($container)
+    else
+      $container.removeClass("conditional-logic-hidden")
 
     # deal with questions
-    if hide_questions
-      all_questions.addClass("conditional-logic-hidden")
-      self.clearQuestions(all_questions)
-    else
-      all_questions.removeClass("conditional-logic-hidden")
+    # if hide_questions
+    #   all_questions.addClass("conditional-logic-hidden")
+    #   self.clearQuestions(all_questions)
+    # else
+    #   all_questions.removeClass("conditional-logic-hidden")
 
   #clear questions
   clearQuestions: (container) ->

        $repeater.find("[data-rule]").each ->
          inRepeater = true
          $ruleElement = $(this)
          $container = $(this).closest(".form-container-repeater")
          rule = $.parseJSON($ruleElement.attr("data-rule")).rule_hash
          matchType = rule.match_type
          questionId = $triggerElement.closest('.form-container-entry-item').attr('data-question-id')

        else
          $container = $($ruleElement).closest(".form-container-survey")
        # hide show questions
        $container = $ruleElement
        if rule.conditions.length > 1
          self.checkConditionsAndHideShow(rule.conditions, ancestorId, $ruleElement, $container, inRepeater, matchType)
        else
