Skip to content

Commit

Permalink
docs: decorate words
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jun 30, 2024
1 parent 9d83fd7 commit 0e56433
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions user_guide_src/source/libraries/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -940,9 +940,11 @@ in_list Yes Fails if field is not within a predetermined
integer No Fails if field contains anything other than
an integer.
is_natural No Fails if field contains anything other than
a natural number: 0, 1, 2, 3, etc.
a natural number: ``0``, ``1``, ``2``, ``3``
, etc.
is_natural_no_zero No Fails if field contains anything other than
a natural number, except zero: 1, 2, 3, etc.
a natural number, except zero: ``1``, ``2``,
``3``, etc.
is_not_unique Yes Checks the database to see if the given value ``is_not_unique[table.field,where_field,where_value]``
exists. Can ignore records by field/value to
filter (currently accept only one filter).
Expand Down Expand Up @@ -974,7 +976,7 @@ required_with Yes The field is required when any of the other
fields is not `empty()`_ in the data.
required_without Yes The field is required when any of the other ``required_without[field1,field2]``
fields is `empty()`_ in the data.
string No A generic alternative to the alpha* rules
string No A generic alternative to the **alpha*** rules
that confirms the element is a string
timezone No Fails if field does not match a timezone
per `timezone_identifiers_list()`_
Expand Down

0 comments on commit 0e56433

Please sign in to comment.