summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-11-26 17:25:40 +0100
committerAndrey Andreev <narf@devilix.net>2015-11-26 17:25:40 +0100
commit115c99e877fee718d91910dd443b3403fc913a96 (patch)
tree56f2251ca54273e61cb876dff88e1ed506d1ef36
parentc89fabe7fbd88b8d3abbc5e6552a17bd0ced6bbc (diff)
parentf5cb4348cb8ec6a5bba5d8e4bcbf4a3f2bb23665 (diff)
Merge pull request #4273 from suhindra/develop
[ci skip] Fix another file name in the docsaccording Similarly to PR #4271
-rw-r--r--user_guide_src/source/libraries/form_validation.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst
index dd3ffbbaf..9189d082e 100644
--- a/user_guide_src/source/libraries/form_validation.rst
+++ b/user_guide_src/source/libraries/form_validation.rst
@@ -175,7 +175,7 @@ The form (myform.php) is a standard web form with a couple exceptions:
This function will return any error messages sent back by the
validator. If there are no messages it returns an empty string.
-The controller (form.php) has one method: ``index()``. This method
+The controller (Form.php) has one method: ``index()``. This method
initializes the validation class and loads the form helper and URL
helper used by your view files. It also runs the validation routine.
Based on whether the validation was successful it either presents the
@@ -205,7 +205,7 @@ The above method takes **three** parameters as input:
.. note:: If you would like the field name to be stored in a language
file, please see :ref:`translating-field-names`.
-Here is an example. In your controller (form.php), add this code just
+Here is an example. In your controller (Form.php), add this code just
below the validation initialization method::
$this->form_validation->set_rules('username', 'Username', 'required');