Skip to content

Commit f5cb434

Browse files
committed
fix another file name according PR bcit-ci#4271
Fix another file name in documentation according PR bcit-ci#4271
1 parent c89fabe commit f5cb434

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

user_guide_src/source/libraries/form_validation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ The form (myform.php) is a standard web form with a couple exceptions:
175175
This function will return any error messages sent back by the
176176
validator. If there are no messages it returns an empty string.
177177

178-
The controller (form.php) has one method: ``index()``. This method
178+
The controller (Form.php) has one method: ``index()``. This method
179179
initializes the validation class and loads the form helper and URL
180180
helper used by your view files. It also runs the validation routine.
181181
Based on whether the validation was successful it either presents the
@@ -205,7 +205,7 @@ The above method takes **three** parameters as input:
205205
.. note:: If you would like the field name to be stored in a language
206206
file, please see :ref:`translating-field-names`.
207207

208-
Here is an example. In your controller (form.php), add this code just
208+
Here is an example. In your controller (Form.php), add this code just
209209
below the validation initialization method::
210210

211211
$this->form_validation->set_rules('username', 'Username', 'required');

0 commit comments

Comments
 (0)