File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
user_guide_src/source/libraries Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ The form (myform.php) is a standard web form with a couple exceptions:
175
175
This function will return any error messages sent back by the
176
176
validator. If there are no messages it returns an empty string.
177
177
178
- The controller (form .php) has one method: ``index() ``. This method
178
+ The controller (Form .php) has one method: ``index() ``. This method
179
179
initializes the validation class and loads the form helper and URL
180
180
helper used by your view files. It also runs the validation routine.
181
181
Based on whether the validation was successful it either presents the
@@ -205,7 +205,7 @@ The above method takes **three** parameters as input:
205
205
.. note :: If you would like the field name to be stored in a language
206
206
file, please see :ref: `translating-field-names `.
207
207
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
209
209
below the validation initialization method::
210
210
211
211
$this->form_validation->set_rules('username', 'Username', 'required');
You can’t perform that action at this time.
0 commit comments