public function onKernelRequest(GetResponseEvent $event)
    {
        $request = $event->getRequest();

        if ($request->isMethod('post')) {
            $formId = $request->request->getInt('form[form_id]', 0, true);

            if ($formId > 0) {
                $form = $this->container->get('netvlies.form')->get($formId);

                $sf2Form = $form->getSf2Form();

                $sf2Form->bind($request);

                if ($sf2Form->isValid()) {
                    $form->setSuccess(true);

                    $event = new FormEvent($form);

                    $dispatcher = $this->container->get('event_dispatcher');
                    $dispatcher->dispatch('form.success', $event);
                }
            }
        }
    }