diff options
author | Lance Vincent <lancevincent@gmail.com> | 2015-01-28 10:43:23 +0100 |
---|---|---|
committer | Lance Vincent <lancevincent@gmail.com> | 2015-01-28 10:43:23 +0100 |
commit | eca885df9d2c763f97fca04c5fec14ee420b0fa3 (patch) | |
tree | a0b0241bc5dba0ab6eb0ac04ee37a3c6f71ef841 /user_guide_src/source/libraries | |
parent | a135a18fe99ccf4f27dabc6c4a045e42cd239cea (diff) |
Form Validation - In Method
Returns true if a given value matches any of the specified list
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 2b7780ff2..69b6c688a 100644 --- a/user_guide_src/source/libraries/form_validation.rst +++ b/user_guide_src/source/libraries/form_validation.rst @@ -962,6 +962,7 @@ Rule Parameter Description not numeric. **less_than_equal_to** Yes Returns FALSE if the form element is greater than the parameter value, less_than_equal_to[8] or not numeric. +**in** Yes Returns FALSE if the form element is not within a predetermined list. in[red,blue,green] **alpha** No Returns FALSE if the form element contains anything other than alphabetical characters. **alpha_numeric** No Returns FALSE if the form element contains anything other than alpha-numeric characters. **alpha_numeric_spaces** No Returns FALSE if the form element contains anything other than alpha-numeric characters |