summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-07-31 20:52:23 +0200
committerAndrey Andreev <narf@devilix.net>2015-07-31 20:52:23 +0200
commit3da611e5b4c9cda8d70975d638f6f05066e46bc4 (patch)
tree0450bfc5abfd4f7321129c626a85e5fae1fe6597 /user_guide_src/source/helpers
parentd8ab7797d53818eb3589ef1bd28e6ab647ad7c24 (diff)
[ci skip] Add a note about form helper set_value()
Diffstat (limited to 'user_guide_src/source/helpers')
-rw-r--r--user_guide_src/source/helpers/form_helper.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/user_guide_src/source/helpers/form_helper.rst b/user_guide_src/source/helpers/form_helper.rst
index 6317f08ed..d3ee3ffb6 100644
--- a/user_guide_src/source/helpers/form_helper.rst
+++ b/user_guide_src/source/helpers/form_helper.rst
@@ -610,6 +610,11 @@ The following functions are available:
The above form will show "0" when loaded for the first time.
+ .. note:: If you've loaded the :doc:`Form Validation Library <../libraries/form_validation>` and
+ have set a validation rule for the field name in use with this helper, then it will
+ forward the call to the :doc:`Form Validation Library <../libraries/form_validation>`'s
+ own ``set_value()`` method. Otherwise, this function looks in ``$_POST`` for the
+ field value.
.. php:function:: set_select($field[, $value = ''[, $default = FALSE]])