diff options
author | Andrey Andreev <narf@devilix.net> | 2015-05-11 16:44:03 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-05-11 16:44:03 +0200 |
commit | 89eda4914a64eb98ed0b7912f2bb8aa841f5c092 (patch) | |
tree | 0f05a26bb36fe8d29e476825288753e8e9a5e446 /user_guide_src | |
parent | fbde2798688ab99cfe3fdd22746d60f0877b2c27 (diff) | |
parent | 60b69669e19304759e36121b1261473fc560f243 (diff) |
Merge pull request #3850 from RodolfoSilva/develop
[ci skip] Add missing docs for 'regex_match' form validation rule
Diffstat (limited to 'user_guide_src')
-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 |