Skip to content

Commit d16fec7

Browse files
committed
docs: fix note explanation
1 parent 3b1078f commit d16fec7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/libraries/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ or the value that was validated you can add the ``{field}``, ``{param}`` and ``{
530530
On a field with the human name Username and a rule of ``min_length[6]`` with a value of “Pizza”, an error would display: “Supplied value (Pizza) for Username must have
531531
at least 6 characters.”
532532

533-
.. note:: If you pass the last parameter the labeled style error messages will be ignored.
533+
.. note:: When using label-style error messages, if you pass the second parameter to ``setRules()``, it will be overwritten with the value of the first parameter.
534534

535535
Translation Of Messages And Validation Labels
536536
=============================================

0 commit comments

Comments
 (0)