Skip to content

Commit dfa9897

Browse files
committed
docs: fix section title marks
1 parent ece0c76 commit dfa9897

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

user_guide_src/source/libraries/validation.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.. _validation:
22

3+
##########
34
Validation
45
##########
56

@@ -10,6 +11,7 @@ helps minimize the amount of code you'll write.
1011
:local:
1112
:depth: 2
1213

14+
********
1315
Overview
1416
********
1517

@@ -42,6 +44,7 @@ messages, various control structures are usually placed within the form
4244
HTML. Form validation, while simple to create, is generally very messy
4345
and tedious to implement.
4446

47+
************************
4548
Form Validation Tutorial
4649
************************
4750

@@ -197,6 +200,7 @@ Then add validation rules in the controller (**Form.php**):
197200

198201
If you submit the form you should see the success page or the form with error messages.
199202

203+
*********************
200204
Config for Validation
201205
*********************
202206

@@ -238,6 +242,7 @@ If you want to use traditional rules, you need to change the rule classes in **a
238242

239243
.. literalinclude:: validation/003.php
240244

245+
*******************
241246
Loading the Library
242247
*******************
243248

@@ -251,6 +256,7 @@ for including multiple Rulesets, and collections of rules that can be easily reu
251256
.. note:: You may never need to use this method, as both the :doc:`Controller </incoming/controllers>` and
252257
the :doc:`Model </models/model>` provide methods to make validation even easier.
253258

259+
************************
254260
Setting Validation Rules
255261
************************
256262

@@ -311,6 +317,7 @@ data to be validated:
311317
is not HTML form post (``Content-Type: multipart/form-data``),
312318
or gets data from :ref:`$request->getVar() <incomingrequest-getting-data>`.
313319

320+
***********************
314321
Working with Validation
315322
***********************
316323

@@ -426,6 +433,7 @@ So it will ignore the row in the database that has ``id=4`` when it verifies the
426433
This can also be used to create more dynamic rules at runtime, as long as you take care that any dynamic
427434
keys passed in don't conflict with your form data.
428435

436+
*******************
429437
Working With Errors
430438
*******************
431439

@@ -532,6 +540,7 @@ When specifying a field with a wildcard, all errors matching the mask will be ch
532540

533541
.. _validation-customizing-error-display:
534542

543+
*************************
535544
Customizing Error Display
536545
*************************
537546

@@ -580,6 +589,7 @@ right after the name of the field the error should belong to::
580589

581590
<?= $validation->showError('username', 'my_single') ?>
582591

592+
*********************
583593
Creating Custom Rules
584594
*********************
585595

@@ -654,6 +664,7 @@ Or you can use the following parameters:
654664

655665
.. literalinclude:: validation/041.php
656666

667+
***************
657668
Available Rules
658669
***************
659670

0 commit comments

Comments
 (0)