Skip to content

Commit 83edf97

Browse files
committed
docs: add section titles
1 parent 7403a71 commit 83edf97

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

user_guide_src/source/libraries/validation.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,11 @@ given field, cascading them in order. To set validation rules you
265265
will use the ``setRule()``, ``setRules()``, or ``withRequest()``
266266
methods.
267267

268+
Setting a Single Rule
269+
=====================
270+
268271
setRule()
269-
=========
272+
---------
270273

271274
This method sets a single rule. It has the method signature::
272275

@@ -285,8 +288,11 @@ the form input name.
285288
broken in extending classes overriding this method, the child class's method should also be modified
286289
to remove the typehint.
287290

291+
Setting Multiple Rules
292+
======================
293+
288294
setRules()
289-
==========
295+
----------
290296

291297
Like ``setRule()``, but accepts an array of field names and their rules:
292298

0 commit comments

Comments
 (0)