From 5fd71c6b6f4f3359701638f329926688a258649e Mon Sep 17 00:00:00 2001 From: Gilles Gauthier Date: Tue, 12 Apr 2016 11:33:46 +0200 Subject: [PATCH 1/2] add disable validation method --- cookbook/form/dynamic_form_modification.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbook/form/dynamic_form_modification.rst b/cookbook/form/dynamic_form_modification.rst index 36b4b9e9800..5b14f654432 100644 --- a/cookbook/form/dynamic_form_modification.rst +++ b/cookbook/form/dynamic_form_modification.rst @@ -735,3 +735,5 @@ all of this, use a listener:: By doing this, you may accidentally disable something more than just form validation, since the ``POST_SUBMIT`` event may have other listeners. + +An other solution is to set ``group_validation`` with an unknown group like ``disable_validation``. From a9fb0e58d58f29bf38dba7d070dc0bb147c1d601 Mon Sep 17 00:00:00 2001 From: Gilles Gauthier Date: Tue, 12 Apr 2016 14:46:49 +0200 Subject: [PATCH 2/2] Update dynamic_form_modification.rst --- cookbook/form/dynamic_form_modification.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/form/dynamic_form_modification.rst b/cookbook/form/dynamic_form_modification.rst index 5b14f654432..cef86dedec7 100644 --- a/cookbook/form/dynamic_form_modification.rst +++ b/cookbook/form/dynamic_form_modification.rst @@ -736,4 +736,4 @@ all of this, use a listener:: By doing this, you may accidentally disable something more than just form validation, since the ``POST_SUBMIT`` event may have other listeners. -An other solution is to set ``group_validation`` with an unknown group like ``disable_validation``. +Another solution is to set ``group_validation`` with an unknown group like ``disable_validation``.