Skip to content

Commit

Permalink
Make clear in documentation that setRules() overwrites any previously…
Browse files Browse the repository at this point in the history
… set rules
  • Loading branch information
dgvirtual committed Sep 24, 2023
1 parent c4bd34e commit 2809b1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions user_guide_src/source/libraries/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
============================

Expand Down

0 comments on commit 2809b1e

Please sign in to comment.