             @current_state = 'show'
           else
             @current_state = 'hide'
-          if (check_result && set_field.action == 'show') || (!check_result && set_field.action == 'hide')
+          if (check_result && set_field.action == 'show') or
+              (!check_result && set_field.action == 'hide')
             @add_remove_require(true)
           else
             @add_remove_require(false)

        'mouseover #can': 'onCanvas'

      onCanvas: ->
          reinitializeCanvas(@model.getCid())

      initialize: ->
        @current_state = 'show'

                wizardObj.parents('.form-panel').find('.update-button').show()
              else
                wizardObj.parents('.form-panel').find('.update-button').hide()
          )
#
#          $("#formbuilder_form").easyWizard({
#            showSteps: false,
#            submitButton: false,
#            prevButton: prev_btn_text,
#            nextButton: next_btn_text,
#            after: (wizardObj, prevStepObj, currentStepObj) ->
#              prev_clicked = false
#              if currentStepObj.children(':visible').length is 0
#                $activeStep.css({ height: '1px' })
#                if prev_clicked = wizardObj.direction == 'prev'
#                  $('.easyWizardButtons .prev').trigger('click')
#                else
#                  $('.easyWizardButtons .next').trigger('click')
#              else
#                if $nextStep.attr('show-back') == 'false'
#                  $('.prev').css("display", "none")
#                else if currentStepObj.attr('data-step') != '1'
#                    $('.prev').css("display", "block")
#                $('#grid_div').scrollTop(0)
#
#              $('.easyPager').height($('.easyWizardWrapper .active').outerHeight() +
#                $('.easyWizardButtons').outerHeight())
#              if parseInt($nextStep.attr('data-step')) == thisSettings.steps &&
#                 showSubmit
#                wizardObj.parents('.form-panel').find('.update-button').show()
#              else
#                wizardObj.parents('.form-panel').find('.update-button').hide()
#          })

        return @

