Skip to content

Commit

Permalink
Merge pull request bcit-ci#4273 from suhindra/develop
Browse files Browse the repository at this point in the history
[ci skip] Fix another file name in the docsaccording

Similarly to PR bcit-ci#4271
  • Loading branch information
narfbg committed Nov 26, 2015
1 parent c34f16d commit 5734cb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_guide_src/source/libraries/form_validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 5734cb3

Please sign in to comment.