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:
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
179179initializes the validation class and loads the form helper and URL
180180helper used by your view files. It also runs the validation routine.
181181Based 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
209209below the validation initialization method::
210210
211211 $this->form_validation->set_rules('username', 'Username', 'required');
You can’t perform that action at this time.
0 commit comments