0

I am using the Mesosphere form package with Meteorite and I am having trouble with the onSuccess and onFailure callbacks.

For example, I simply have this:

onSuccess: function(formData) {
    console.log("validation success!");
    successCallback();
},

And I get an error:

Uncaught ReferenceError: successCallback is not defined 

I took this basically straight from the docs so I dont know what I am doing wrong...

https://github.com/copleykj/Mesosphere#error-management

4

1 回答 1

1

这是一个错误。文档现在反映了如何正确完成此操作。

于 2014-01-27T20:29:36.330 回答