Skip to content

Commit 7938cf3

Browse files
committed
docs: add in-page links
1 parent 9e90c2e commit 7938cf3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

user_guide_src/source/models/model.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@ $validationRules
243243

244244
Contains either an array of validation rules as described in :ref:`validation-array`
245245
or a string containing the name of a validation group, as described in the same section.
246-
Described in more detail below.
246+
See also :ref:`model-setting-validation-rules`.
247247

248248
$validationMessages
249249
^^^^^^^^^^^^^^^^^^^
250250

251251
Contains an array of custom error messages that should be used during validation, as
252-
described in :ref:`validation-custom-errors`. Described in more detail below.
252+
described in :ref:`validation-custom-errors`. See also :ref:`model-setting-validation-rules`.
253253

254254
$skipValidation
255255
^^^^^^^^^^^^^^^
@@ -671,6 +671,8 @@ prior to saving to the database with the ``insert()``, ``update()``, or ``save()
671671
To avoid such glitches, this behavior can be changed by configuration. See
672672
:ref:`clean-validation-rules` for details.
673673

674+
.. _model-setting-validation-rules:
675+
674676
Setting Validation Rules
675677
------------------------
676678

0 commit comments

Comments
 (0)