diff options
author | Rodolfo Silva <contato@rodolfosilva.com> | 2015-05-11 16:39:18 +0200 |
---|---|---|
committer | Rodolfo Silva <contato@rodolfosilva.com> | 2015-05-11 16:39:18 +0200 |
commit | 60b69669e19304759e36121b1261473fc560f243 (patch) | |
tree | 0f05a26bb36fe8d29e476825288753e8e9a5e446 /user_guide_src/source | |
parent | fbde2798688ab99cfe3fdd22746d60f0877b2c27 (diff) |
Adding validation not documented.
Diffstat (limited to 'user_guide_src/source')
-rw-r--r-- | user_guide_src/source/libraries/form_validation.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst index da43a4bec..dbf1e8a63 100644 --- a/user_guide_src/source/libraries/form_validation.rst +++ b/user_guide_src/source/libraries/form_validation.rst @@ -946,6 +946,7 @@ Rule Parameter Description ========================= ========== ============================================================================================= ======================= **required** No Returns FALSE if the form element is empty. **matches** Yes Returns FALSE if the form element does not match the one in the parameter. matches[form_item] +**regex_match** Yes Returns FALSE if the form element does not match the regular expression. regex_match[/regex/] **differs** Yes Returns FALSE if the form element does not differ from the one in the parameter. differs[form_item] **is_unique** Yes Returns FALSE if the form element is not unique to the table and field name in the is_unique[table.field] parameter. Note: This rule requires :doc:`Query Builder <../database/query_builder>` to be |