summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/form_validation.rst
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-04-03 19:29:36 +0200
committerAndrey Andreev <narf@bofh.bg>2012-04-03 19:29:36 +0200
commit9a04d6e4539a4eb3dd345f8c1abb527cca98be58 (patch)
treed1cc8e6d5fbe62bc72bbd0ae0faf656b977e9741 /user_guide_src/source/libraries/form_validation.rst
parent78f55772adb86b48d0d50572545c24c18f528ff9 (diff)
parentcec2ba5ca149adab182670fe1a0228c464094b81 (diff)
Merge pull request #913 from narfbg/develop-issue-863
Fix issues #11, #183 & #863
Diffstat (limited to 'user_guide_src/source/libraries/form_validation.rst')
-rw-r--r--user_guide_src/source/libraries/form_validation.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst
index 3e8855f60..ef4be5601 100644
--- a/user_guide_src/source/libraries/form_validation.rst
+++ b/user_guide_src/source/libraries/form_validation.rst
@@ -321,7 +321,7 @@ password to MD5, and running the username through the "xss_clean"
function, which removes malicious data.
**Any native PHP function that accepts one parameter can be used as a
-rule, like htmlspecialchars, trim, MD5, etc.**
+rule, like htmlspecialchars, trim, md5, etc.**
.. note:: You will generally want to use the prepping functions
**after** the validation rules so if there is an error, the original
@@ -892,8 +892,9 @@ Rule Parameter Description
$this->form_validation->required($string);
-.. note:: You can also use any native PHP functions that permit one
- parameter.
+.. note:: You can also use any native PHP functions that permit up
+ to two parameters, where at least one is required (to pass
+ the field data).
******************
Prepping Reference