       remoteAjax: this.ajaxEvents(),
       formOptions:
         success: (data) =>
-          console.log "Successful form POST"
+          # console.log "Successful form POST"
+          true
         beforeSubmit: (data) =>
           console.log "Sending these data to the server: #{JSON.stringify(data)}"
 


  setAction: (url, method) ->
    methodLower = method.toLowerCase()
    console.log "Setting form action to #{methodLower} #{url}"
    @form.attr("action", url)
    @form.attr("method", "post")
    @form.formwizard("option", remoteAjax: this.ajaxEvents())

      $radio.find("[value=\"#{value}\"]").attr("checked", "checked")

  setFormFields: (model) ->
    # console.log "Setting form fields based on: #{JSON.stringify(model)}"
    this.fillTextFields(model)
    this.setSelectFields(model)
    this.setCheckboxes(model)
