Skip to content

Move group_service_resolver.rst to form folder #8262

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

Closed
wants to merge 6 commits into from
Closed
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
3 changes: 2 additions & 1 deletion _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
/cookbook/upgrade/minor_version /setup/upgrade_major
/cookbook/upgrade/patch_version /upgrade/bundles
/cookbook/validation/custom_constraint /validation/custom_constraint
/cookbook/validation/group_service_resolver /validation/group_service_resolver
/cookbook/validation/group_service_resolver /form/validation_group_service_resolver
/cookbook/validation/index /validation
/cookbook/validation/severity /validation/severity
/cookbook/web_server/built_in /setup/built_in_web_server
Expand Down Expand Up @@ -339,3 +339,4 @@
/service_container/third_party /service_container
/templating/templating_service /templates
/components/http_foundation/trusting_proxies /request/load_balancer_reverse_proxy
/validation/group_service_resolver /form/validation_group_service_resolver
2 changes: 1 addition & 1 deletion form/button_based_validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ large or whether you tried to submit text in a number field.
.. seealso::

To see how to use a service to resolve ``validation_groups`` dynamically
read the :doc:`/validation/group_service_resolver` article.
read the :doc:`/form/validation_group_service_resolver` article.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
How to Dynamically Configure Validation Groups
==============================================
How to Dynamically Configure Form Validation Groups
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xabbuh when the main title of an article changes, should we add a label for the previous title?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's not necessary. It's already at the top of the page.

===================================================

Sometimes you need advanced logic to determine the validation groups. If they
can't be determined by a simple callback, you can use a service. Create a
Expand Down