Skip to content

Commit

Permalink
Merge pull request #8293 from kenjis/docs-validation.rst
Browse files Browse the repository at this point in the history
docs: improve note in validation.rst
  • Loading branch information
kenjis authored Dec 6, 2023
2 parents eab2a14 + 330b276 commit d1b7921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_guide_src/source/libraries/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Traditional Rules
-----------------

.. important:: Traditional Rules exist only for backward compatibility. Do not
use them in new projects. Even if you are already using them, we recommend
use them in new projects. Even if you are already using them, we recommend
switching to Strict Rules.

.. warning:: When validating data that contains non-string values, such as JSON data, it is recommended to use **Strict Rules**.
Expand Down Expand Up @@ -525,7 +525,7 @@ replaced by the **value** of the matched incoming field. An example should clari
:lines: 2-

.. note:: Since v4.3.5, you must set the validation rules for the placeholder
field (``id``).
field (the ``id`` field in the sample code above) for security.

In this set of rules, it states that the email address should be unique in the database, except for the row
that has an id matching the placeholder's value. Assuming that the form POST data had the following:
Expand Down

0 comments on commit d1b7921

Please sign in to comment.