                                 where({cid: set_field.source})[0]
                   clicked_element = $("." + source_model.getCid())
                   field_type = source_model.get('field_type')
-                  str_condition = true if date_field_types.indexOf(field_type) != -1
+                  if date_field_types.indexOf(field_type) != -1
+                    str_condition = true
                   if set_field.condition is "equals"
                     condition = @parentView.checkEquals
                     condition = '==' if str_condition

  

        do (field_view = null, fieldViews = @fieldViews,
            add_break_to_next = false, wizard_view = null,
            wiz_cnt = 1, prev_btn_text = 'Back', next_btn_text = 'Next',
            showSubmit = @options.showSubmit,
            sub_frag = document.createDocumentFragment(), _that = @) =>
          wizard_view = new Formbuilder.views.wizard_tab # wizar_tab is easywizard step
            parentView: @
            tagName: if Formbuilder.baseConfig[@options.view_type] then Formbuilder.baseConfig[@options.view_type].wizardTagName else 'div'
            className: if Formbuilder.baseConfig[@options.view_type] then Formbuilder.baseConfig[@options.view_type].wizardClassName else 'fb-tab'
          if @options.view_type != 'print'
            setSectionProps(wizard_view, wiz_cnt, back_visibility)
          if @options.view_type == 'print'
            wizard_view.$el.append('<colgroup><col style="width: 30%;"><col style="width: 70%;"></colgroup>')

          for field_view in fieldViews
            field_view.$el.attr('data-step-id', wiz_cnt) unless field_view.is_section_break

                Formbuilder.options.mappings.PREV_BUTTON_TEXT)
              next_btn_text = field_view.model.get(
                Formbuilder.options.mappings.NEXT_BUTTON_TEXT)
              add_break_to_next = true
            # nothing should be rendered since it is an actionable section break
            if add_break_to_next && !field_view.is_section_break && @options.view_type != 'print'
              @$responseFields.append wizard_step.make_live()
              wiz_cnt += 1
              add_break_to_next = false
              wizard_step = new Formbuilder.views.wizard_tab
                parentView: @
                view_type: @options.view_type
                index: wiz_cnt
                back_visibility: back_visibility
#              setSectionProps(wizard_step, wiz_cnt, back_visibility) # set easywizard properties for step
            if !add_break_to_next 
              wizard_step.append_child(field_view.render().el)

          @$responseFields.append wizard_step.make_live()
          # TODO: Remove this call by calling this function from the setup
          # of individual fields
          fd_views = @fieldViews.filter (fd_view) ->
