{"action":"created","issue":{"url":"https://api.github.com/repos/LinioIT/dynamic-form-bundle/issues/10","labels_url":"https://api.github.com/repos/LinioIT/dynamic-form-bundle/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/LinioIT/dynamic-form-bundle/issues/10/comments","events_url":"https://api.github.com/repos/LinioIT/dynamic-form-bundle/issues/10/events","html_url":"https://github.com/LinioIT/dynamic-form-bundle/issues/10","id":111692072,"number":10,"title":"isSubmitted and isValid not working","user":{"login":"psren","id":1016798,"avatar_url":"https://avatars.githubusercontent.com/u/1016798?v=3","gravatar_id":"","url":"https://api.github.com/users/psren","html_url":"https://github.com/psren","followers_url":"https://api.github.com/users/psren/followers","following_url":"https://api.github.com/users/psren/following{/other_user}","gists_url":"https://api.github.com/users/psren/gists{/gist_id}","starred_url":"https://api.github.com/users/psren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psren/subscriptions","organizations_url":"https://api.github.com/users/psren/orgs","repos_url":"https://api.github.com/users/psren/repos","events_url":"https://api.github.com/users/psren/events{/privacy}","received_events_url":"https://api.github.com/users/psren/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-15T19:37:53Z","updated_at":"2015-10-15T20:23:08Z","closed_at":"2015-10-15T20:23:08Z","body":"My form renders correctly and is a very simple configuration.\r\nIf i submit is neighter ```isSubmitted()``` nor ```isValid()``` do work.\r\n\r\n```yaml\r\ndynamic_form:\r\n    new_user:\r\n        title:\r\n            enabled: true\r\n            type: text\r\n        password:\r\n            enabled: true\r\n            type: password\r\n        meta_keywords:\r\n            enabled: true\r\n            type: textarea\r\n        meta_description:\r\n            enabled: true\r\n            type: textarea\r\n        published:\r\n            enabled: true\r\n            type: checkbox\r\n```\r\n\r\n```php\r\n    /**\r\n     * @Route(\"/\", name=\"homepage\")\r\n     */\r\n    public function indexAction(Request $request)\r\n    {\r\n        // Create the dynamic form\r\n        /** @var \\Symfony\\Component\\Form\\Form $form */\r\n        $form = $this->get('dynamic_form.factory')->createForm('new_user');\r\n\r\n        $form->isSubmitted(); // never works. Not after submission.\r\n\r\n        // replace this example code with whatever you need\r\n        return $this->render('default/index.html.twig', array(\r\n            'form' => $form->createView(),\r\n        ));\r\n    }\r\n```\r\n\r\n```html\r\n<form action=\"/\" method=\"POST\">\r\n    {{ form_widget(form) }}\r\n    <button type=\"submit\" class=\"btn btn-primary\">Speichern</button>\r\n</form>\r\n```"},"comment":{"url":"https://api.github.com/repos/LinioIT/dynamic-form-bundle/issues/comments/148509926","html_url":"https://github.com/LinioIT/dynamic-form-bundle/issues/10#issuecomment-148509926","issue_url":"https://api.github.com/repos/LinioIT/dynamic-form-bundle/issues/10","id":148509926,"user":{"login":"psren","id":1016798,"avatar_url":"https://avatars.githubusercontent.com/u/1016798?v=3","gravatar_id":"","url":"https://api.github.com/users/psren","html_url":"https://github.com/psren","followers_url":"https://api.github.com/users/psren/followers","following_url":"https://api.github.com/users/psren/following{/other_user}","gists_url":"https://api.github.com/users/psren/gists{/gist_id}","starred_url":"https://api.github.com/users/psren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psren/subscriptions","organizations_url":"https://api.github.com/users/psren/orgs","repos_url":"https://api.github.com/users/psren/repos","events_url":"https://api.github.com/users/psren/events{/privacy}","received_events_url":"https://api.github.com/users/psren/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T20:23:08Z","updated_at":"2015-10-15T20:23:08Z","body":"Thanks. So stupid… too late :-D"}}