Skip to content
Open
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
2 changes: 1 addition & 1 deletion forms/cs/validation.texy
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
2 changes: 1 addition & 1 deletion forms/en/validation.texy
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Loading