From 7a95bbf0199e280a0e42dbb1d1a3f56cdd0f6e05 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Tue, 10 Aug 2021 15:20:02 +0100 Subject: [PATCH] docs: Add note about multiple variable validation blocks (#29299) --- website/docs/language/values/variables.html.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docs/language/values/variables.html.md b/website/docs/language/values/variables.html.md index d770b1bec6..a1e0fcf9f0 100644 --- a/website/docs/language/values/variables.html.md +++ b/website/docs/language/values/variables.html.md @@ -201,6 +201,9 @@ that includes the sentences given in `error_message`. The error message string should be at least one full sentence explaining the constraint that failed, using a sentence structure similar to the above examples. +Multiple `validation` blocks can be declared in which case error messages +will be returned for _all_ failed conditions. + ### Suppressing Values in CLI Output [inpage-sensitive]: #suppressing-values-in-cli-output