     radiobuttons.each ->
       if $(this).attr("data-default-answer") && $(this).data("default-answer") != "null" && $(this).data("label-value") == $(this).data("default-answer")
         $(this).prop('checked', true)
-      else 
+      else
         $(this).prop('checked', false)
 
     multiselects = container.find("select[multiple]")



  setLookupValue: (value, $ruleElement) ->
    answerType = $ruleElement.data('element-type') 
    
    switch answerType
      when 'radio'
        $ruleElement.find('input[type="radio"][value="' + value + '"]').prop("checked", true)
      
      when 'checkbox'
        $ruleElement.find('input[type="checkbox"]').prop("checked", true)
      
      when 'checkboxes'
        selectedOptions = value.split(",")
        $ruleElement.find('input[type="checkbox"]').each -> 
          if selectedOptions.indexOf($(this).attr('value')) != -1
            $(this).prop("checked", true)

      when 'chosenmultiselect'
        selectedOptions = value.split(",")
        $ruleElement.find('input[type="select"]').val(selectedOptions).trigger('chosen:updated');
      
      when 'chosenselect'
        $ruleElement.find('input[type="select"]').val(value).trigger('chosen:updated');


      else
        # if one false then hide the conditioanl logic
        hideShow = true

    if rule.type == "Hanuman::VisibilityRule"
      self.hideShowQuestions(hideShow, ancestorId, $ruleElement, $container, inRepeater)
    else if hideShow == false
