From 3da611e5b4c9cda8d70975d638f6f05066e46bc4 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Fri, 31 Jul 2015 21:52:23 +0300 Subject: [ci skip] Add a note about form helper set_value() --- user_guide_src/source/helpers/form_helper.rst | 5 +++++ 1 file changed, 5 insertions(+) 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]]) -- cgit v1.2.3-24-g4f1b