From 2809b1eca643d9fdc6d0b70931c77b29d87853a1 Mon Sep 17 00:00:00 2001 From: Donatas Glodenis Date: Sun, 24 Sep 2023 12:45:54 +0300 Subject: [PATCH] Make clear in documentation that setRules() overwrites any previously set rules --- user_guide_src/source/libraries/validation.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/user_guide_src/source/libraries/validation.rst b/user_guide_src/source/libraries/validation.rst index 3224961e0821..de7ec194a61c 100644 --- a/user_guide_src/source/libraries/validation.rst +++ b/user_guide_src/source/libraries/validation.rst @@ -311,6 +311,9 @@ To give a labeled error message you can set up as: .. _validation-withrequest: +.. note:: ``setRules()`` will overwrite any rules that were set previously. To add more than one + rule to an existing set of rules, use ``setRule()`` multiple times. + Setting Rules for Array Data ============================