Skip to content

[RFC] Let's fix the Form Component #8888

@javiereguiluz

Description

@javiereguiluz

This is not a rant about Bernhard Schussek's work on the Form/Validation components. I do really appreciate that he has spent thousands of hours making Symfony better, and as a community we must be really proud to have such a brilliant guy on our side.

The problem

Two years ago Symfony2 launched with a good but unfinished Form component. Today Symfony2 has a better, but still unfinished, Form component. The foundations of the component are solid but, in my opinion, it lacks the following features needed for real-world applications:

  • CAPTCHA (custom-made or integrating the reCAPTCHA service).
  • Dependent <select> lists (it doesn't have to be generic, supporting two dependent lists is enough).
  • Multi-step forms.
  • Client validation (automatically applying the validation constraints with JavaScript)

Just look for example at the Gmail registration form. Although it's a not so complex form, it's not easy to do it with Symfony, because it's multi-step, it uses fancy JavaScript client validation, it includes a CAPTCHA and it has some dependent fields (not <select> lists).

My proposal

Let Bernhard keep working on the foundations on the component and let's organize a community effort to add the previous features to the Symfony 2.X Form Component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions