             # check if all inputs were valid
             if validInputs.length is toBeValidatedInputs.length
               # put valid inputs to formdata
-              formData[input.getName()] = input.getValue() for input in validInputs                
+              formData[input.getName()] = input.getValue() for input in validInputs
             else
               valid = no
             # tell validation was finished

      inputToBeValidated.validate null, event

    # if no validation is required mimic as all were validated
    form.emit "FormValidationFinished" if toBeValidatedInputs.length is 0      


    @valid = null
    @setCallback options.callback
    @customData = {}

  childAppended:(child)->
    child.associateForm? @
    if child instanceof KDInputView
      @propagateEvent KDEventType: 'inputWasAdded', child
    super

  bindEvents:()->
    @getDomElement().bind "submit",(event)=>
      @handleEvent event
