{"action":"created","issue":{"url":"https://api.github.com/repos/jquense/react-formal/issues/14","labels_url":"https://api.github.com/repos/jquense/react-formal/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/jquense/react-formal/issues/14/comments","events_url":"https://api.github.com/repos/jquense/react-formal/issues/14/events","html_url":"https://github.com/jquense/react-formal/issues/14","id":104312370,"number":14,"title":"onSubmit not working","user":{"login":"pcruz7","id":4199767,"avatar_url":"https://avatars.githubusercontent.com/u/4199767?v=3","gravatar_id":"","url":"https://api.github.com/users/pcruz7","html_url":"https://github.com/pcruz7","followers_url":"https://api.github.com/users/pcruz7/followers","following_url":"https://api.github.com/users/pcruz7/following{/other_user}","gists_url":"https://api.github.com/users/pcruz7/gists{/gist_id}","starred_url":"https://api.github.com/users/pcruz7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcruz7/subscriptions","organizations_url":"https://api.github.com/users/pcruz7/orgs","repos_url":"https://api.github.com/users/pcruz7/repos","events_url":"https://api.github.com/users/pcruz7/events{/privacy}","received_events_url":"https://api.github.com/users/pcruz7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-01T17:04:22Z","updated_at":"2015-09-01T17:18:31Z","closed_at":null,"body":"Hi !\r\n\r\nI'm trying to run a function after all the input fields are correctly set, but the onSubmit isn't being called. The render and function are as below:\r\n\r\n```\r\n\r\nregisterAccount: function () {\r\n    console.log(arguments);\r\n},\r\n\r\n...\r\n\r\n<Form schema={userSchema} className=\"wrapper\" method=\"post\" action=\"/users/register\" onSubmit={this.registerAccount}>\r\n    <div className=\"row\">\r\n        <div className=\"column-12\">\r\n            <Field name=\"username\" placeholder=\"Username\" />\r\n            <Message for=\"username\" component={ErrorMessage} className=\"icon-notification\" />\r\n        </div>\r\n    </div>\r\n    <div className=\"row\">\r\n        <div className=\"column-12\">\r\n            <Field name=\"email\" placeholder=\"Email\" />\r\n            <Message for=\"email\" component={ErrorMessage} className=\"icon-notification\"/>\r\n        </div>\r\n    </div>\r\n    <div className=\"row\">\r\n        <div className=\"column-12\">\r\n            <Field type=\"password\" name=\"password\" placeholder=\"Password\" />\r\n            <Message for=\"password\" component={ErrorMessage} className=\"icon-notification\" />\r\n        </div>\r\n    </div>\r\n    <div className=\"row\">\r\n        <div className=\"column-12\">\r\n            <Button className=\"btn\">Register Account</Button>\r\n        </div>\r\n    </div>\r\n</Form>\r\n\r\n```\r\n\r\nIs there something missing?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/jquense/react-formal/issues/comments/136801259","html_url":"https://github.com/jquense/react-formal/issues/14#issuecomment-136801259","issue_url":"https://api.github.com/repos/jquense/react-formal/issues/14","id":136801259,"user":{"login":"jquense","id":339286,"avatar_url":"https://avatars.githubusercontent.com/u/339286?v=3","gravatar_id":"","url":"https://api.github.com/users/jquense","html_url":"https://github.com/jquense","followers_url":"https://api.github.com/users/jquense/followers","following_url":"https://api.github.com/users/jquense/following{/other_user}","gists_url":"https://api.github.com/users/jquense/gists{/gist_id}","starred_url":"https://api.github.com/users/jquense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jquense/subscriptions","organizations_url":"https://api.github.com/users/jquense/orgs","repos_url":"https://api.github.com/users/jquense/repos","events_url":"https://api.github.com/users/jquense/events{/privacy}","received_events_url":"https://api.github.com/users/jquense/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T17:18:31Z","updated_at":"2015-09-01T17:18:31Z","body":"what do you mean it breaks the validation? Also what version are you using?"}}