Skip to content

Correct spelling & grammar in 4.4 form/ #16272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions form/dynamic_form_modification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
How to Dynamically Modify Forms Using Form Events
=================================================

Often times, a form can't be created statically. In this article, you'll learn
Oftentimes, a form can't be created statically. In this article, you'll learn
how to customize your form based on three common use-cases:

1) :ref:`Customizing your Form Based on the Underlying Data <form-events-underlying-data>`
Expand Down Expand Up @@ -506,8 +506,8 @@ exactly the same things on a given form.

.. tip::

The ``FormEvents::POST_SUBMIT`` event does not allow to modify the form
the listener is bound to, but it allows to modify its parent.
The ``FormEvents::POST_SUBMIT`` event does not allow modifications to the form
the listener is bound to, but it allows modifications to its parent.

One piece that is still missing is the client-side updating of your form after
the sport is selected. This should be handled by making an AJAX call back to
Expand Down
2 changes: 1 addition & 1 deletion form/form_themes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ You can also apply a form theme to a specific child of your form:
{% form_theme form.a_child_form 'form/my_custom_theme.html.twig' %}

This is useful when you want to have a custom theme for a nested form that's
different than the one of your main form. Specify both your themes:
different from the one of your main form. Specify both your themes:

.. code-block:: twig

Expand Down