summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuhindra <suhindra@hotmail.co.id>2015-11-26 16:58:46 +0100
committerSuhindra <suhindra@hotmail.co.id>2015-11-26 16:58:46 +0100
commitf5cb4348cb8ec6a5bba5d8e4bcbf4a3f2bb23665 (patch)
tree56f2251ca54273e61cb876dff88e1ed506d1ef36
parentc89fabe7fbd88b8d3abbc5e6552a17bd0ced6bbc (diff)
fix another file name according PR #4271
Fix another file name in documentation according 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');