File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
How to Dynamically Modify Forms Using Form Events
5
5
=================================================
6
6
7
- Often times , a form can't be created statically. In this article, you'll learn
7
+ Oftentimes , a form can't be created statically. In this article, you'll learn
8
8
how to customize your form based on three common use-cases:
9
9
10
10
1) :ref: `Customizing your Form Based on the Underlying Data <form-events-underlying-data >`
@@ -506,8 +506,8 @@ exactly the same things on a given form.
506
506
507
507
.. tip ::
508
508
509
- The ``FormEvents::POST_SUBMIT `` event does not allow to modify the form
510
- the listener is bound to, but it allows to modify its parent.
509
+ The ``FormEvents::POST_SUBMIT `` event does not allow modifications to the form
510
+ the listener is bound to, but it allows modifications to its parent.
511
511
512
512
One piece that is still missing is the client-side updating of your form after
513
513
the sport is selected. This should be handled by making an AJAX call back to
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ You can also apply a form theme to a specific child of your form:
143
143
{% form_theme form.a_child_form 'form/my_custom_theme.html.twig' %}
144
144
145
145
This is useful when you want to have a custom theme for a nested form that's
146
- different than the one of your main form. Specify both your themes:
146
+ different from the one of your main form. Specify both your themes:
147
147
148
148
.. code-block :: twig
149
149
You can’t perform that action at this time.
0 commit comments