Skip to content

Commit c1ecf13

Browse files
committed
add user guide note
1 parent 2668903 commit c1ecf13

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

user_guide_src/source/libraries/validation.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,10 @@ fourth) parameter:
802802

803803
.. literalinclude:: validation/035.php
804804

805+
.. note:: Since v4.8.0, the ``{field}``, ``{param}``, and ``{value}`` placeholders are supported in ``$error``
806+
messages and will be replaced with the field's human-readable label (or field name if no label is set),
807+
the rule parameter, and the submitted value respectively.
808+
805809
Using a Custom Rule
806810
-------------------
807811

0 commit comments

Comments
 (0)