diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-10-11 19:53:30 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-10-11 19:53:30 +0200 |
commit | 7d8b1db8beb82d07695fe0a9266e352724c746ae (patch) | |
tree | e9c4f937c31cc19200b055808edd6409acea21bc /user_guide_src/source/libraries | |
parent | 06e9d1d7a4c979a43f9f8fa437526b6c7a547cec (diff) | |
parent | f38564d739455f46eb38bcbfaa8e255d0a50defe (diff) |
Merge pull request #1871 from Dentxinho/form_validation_differs
Added validation rule 'differs'
Diffstat (limited to 'user_guide_src/source/libraries')
-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 22272dc9b..6c6743d06 100644 --- a/user_guide_src/source/libraries/form_validation.rst +++ b/user_guide_src/source/libraries/form_validation.rst @@ -872,6 +872,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] +**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 enabled in order to work. |