{"action":"opened","issue":{"url":"https://api.github.com/repos/Sterc/FormIt/issues/91","repository_url":"https://api.github.com/repos/Sterc/FormIt","labels_url":"https://api.github.com/repos/Sterc/FormIt/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/Sterc/FormIt/issues/91/comments","events_url":"https://api.github.com/repos/Sterc/FormIt/issues/91/events","html_url":"https://github.com/Sterc/FormIt/issues/91","id":158556164,"number":91,"title":"Redirect hook not firing unless FormIt called uncached","user":{"login":"beau-gosse","id":509451,"avatar_url":"https://avatars.githubusercontent.com/u/509451?v=3","gravatar_id":"","url":"https://api.github.com/users/beau-gosse","html_url":"https://github.com/beau-gosse","followers_url":"https://api.github.com/users/beau-gosse/followers","following_url":"https://api.github.com/users/beau-gosse/following{/other_user}","gists_url":"https://api.github.com/users/beau-gosse/gists{/gist_id}","starred_url":"https://api.github.com/users/beau-gosse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beau-gosse/subscriptions","organizations_url":"https://api.github.com/users/beau-gosse/orgs","repos_url":"https://api.github.com/users/beau-gosse/repos","events_url":"https://api.github.com/users/beau-gosse/events{/privacy}","received_events_url":"https://api.github.com/users/beau-gosse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-05T14:10:35Z","updated_at":"2016-06-05T14:10:35Z","closed_at":null,"body":"## Summary\r\nIn a multi-page form setup, FormIt is not redirecting unless called uncached. This happens with or without the `&store` property. The presence or not of `&submiVar` doesn't seem to fix this, neither is adding a name property to the submit button.\r\n\r\n## Steps to reproduce\r\nThe following call reloads the page and resets the form without redirecting:\r\n```\r\n[[FormIt? &hooks=`redirect` &redirectTo=`123` &store=`1`]]\r\n[[$myForm]]\r\n```\r\n## Expected behaviour\r\nThe redirect hook should work whether FormIt cached or not.\r\n\r\n## Workaround\r\nCalling it uncached does the trick: \r\n```\r\n[[!FormIt? &hooks=`redirect` &redirectTo=`123` &store=`1`]]\r\n[[$myForm]]\r\n```"}}
{"actor":{"display_login":"beau-gosse"}}