                     val = model.get('field_values')[value]
                   else if model.get('field_values')
                     val = model.get('field_values')[name]
-                  if val  
+                  if val
                     val_set = true
                     @setFieldVal($(x), val)
                   index
-              if val_set 
-                field_view.trigger('change_state') 
+              if val_set
+                field_view.trigger('change_state')
 
       setFieldVal: (elem, val) ->
         do(setters = null, type = $(elem).attr('type')) =>



      triggerEvent:->
        do (field_view = null, 
            fieldViews = @fieldViews
            model = ""
        ) =>

          base_templ_suff = if @model.is_input() then '' else '_non_input',
          set_field_class = false
        ) =>

          if @model.attributes.conditions
            for set_field in @model.get('conditions')
              if set_field
