         parameters[columnName] = null
       else
         parameters[columnName] = value
+
+#        $repeater = $conditionElement.closest(".form-container-repeater")
+#        if $repeater.length > 0
+#          console.log(columnName)
 
 #      columnName = $("[data-question-id=" + condition.question_id + "]").data('api-column-name')
 #      $conditionElement = $("[data-question-id=" + condition.question_id + "]").find('.form-control')
 #      $repeater = $conditionElement.closest(".form-container-repeater")
 #      if $repeater.length > 0
 #        inRepeater = true
-    console.log(parameters)
+#    console.log(parameters)
 
 
   setLookupValue: (value, $ruleElement) ->

    return

  #bind conditions to question
  bindConditions: ($triggerElement) ->
    $triggerElement.on "change", ->
      # pop out of condition into rules to handle all conditions defined in the rule
      # TODO it seems this is looping through ALL data-rule in the DOM instead of the data-rule associated with the element that triggered the onchange event-kdh
      $repeater = $($triggerElement).closest(".form-container-repeater")
      # check first to see if this bind is in a repeater
      if $repeater.length > 0
        $repeater.find("[data-rule!=''][data-rule]").each ->
          inRepeater = true
          $ruleElement = $(this)
          #$container = $(this).closest(".form-container-repeater")


          # the condition element, which we need to check value for conditional logic
          $conditionElement = $conditionContainer.find(".form-control")

          # show
          if $conditionElement.length < 1
            $conditionElement = $conditionContainer.find(".form-control-static")
