From 0e56433deb12ee9e36361a4a7182c10b17377239 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sun, 30 Jun 2024 10:13:45 +0900 Subject: [PATCH] docs: decorate words --- user_guide_src/source/libraries/validation.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/user_guide_src/source/libraries/validation.rst b/user_guide_src/source/libraries/validation.rst index 88db25b81db8..7a6035734c1f 100644 --- a/user_guide_src/source/libraries/validation.rst +++ b/user_guide_src/source/libraries/validation.rst @@ -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). @@ -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()`_