diff --git a/forms/cs/validation.texy b/forms/cs/validation.texy index 479e12df74..2693c58c8e 100644 --- a/forms/cs/validation.texy +++ b/forms/cs/validation.texy @@ -373,4 +373,4 @@ $form->addSubmit('send5') ->setValidationScope([$form['details']]); // Validuje kontejner details ``` -`setValidationScope` neovlivní [#událost onValidate] u formuláře, která bude zavolána vždy. Událost `onValidate` u kontejneru bude vyvolána pouze pokud je tento kontejner označen pro částečnou validaci. +`setValidationScope` neovlivní [#událost onValidate] u formuláře, která bude zavolána vždy. Událost `onValidate` u kontejneru bude vyvolána pouze pokud je tento kontejner označen pro částečnou validaci. Má však vliv na návratovou hodnotu `getValues`. diff --git a/forms/en/validation.texy b/forms/en/validation.texy index d9a9626cc6..1f5f3c6b7f 100644 --- a/forms/en/validation.texy +++ b/forms/en/validation.texy @@ -373,4 +373,4 @@ $form->addSubmit('send5') ->setValidationScope([$form['details']]); // Validates the 'details' container ``` -`setValidationScope` does not affect the [#Event onValidate] on the form, which will always be called. The `onValidate` event on a container will only be triggered if that container is marked for partial validation. +`setValidationScope` does not affect the [#Event onValidate] on the form, which will always be called. The `onValidate` event on a container will only be triggered if that container is marked for partial validation. It does however affect return value of `getValues`.