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 44How to Dynamically Modify Forms Using Form Events
55=================================================
66
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
88how to customize your form based on three common use-cases:
99
10101) :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.
506506
507507.. tip ::
508508
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.
511511
512512One piece that is still missing is the client-side updating of your form after
513513the 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:
143143 {% form_theme form.a_child_form 'form/my_custom_theme.html.twig' %}
144144
145145 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:
147147
148148.. code-block :: twig
149149
You can’t perform that action at this time.
0 commit comments