diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-09-22 15:49:46 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-09-22 15:49:46 +0200 |
commit | 968b6160fc214219e9f15fe8e47acbe066f41a35 (patch) | |
tree | 320cc23af1967e7f4cd18f65e51a1b3eb6ef397f | |
parent | aef13d9f7b6bd118cbf26cf27d98b18587572e2f (diff) |
typos, html validation
-rw-r--r-- | user_guide/libraries/form_validation.html | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/user_guide/libraries/form_validation.html b/user_guide/libraries/form_validation.html index f7fede674..04074bfbc 100644 --- a/user_guide/libraries/form_validation.html +++ b/user_guide/libraries/form_validation.html @@ -293,7 +293,7 @@ at the same time. To set validation rules you will use the <dfn>set_rules()</dfn <code>$this->form_validation->set_rules();</code>
-<p>The above function takes <srong>three</strong> parameters as input:</p>
+<p>The above function takes <strong>three</strong> parameters as input:</p>
<ol>
<li>The field name - the exact name you've given the form field.</li>
@@ -625,19 +625,19 @@ individually.</p> <p>To globally change the error delimiters, in your controller function, just after loading the Form Validation class, add this:</p>
-<code><?php echo $this->form_validation->set_error_delimiters('<kbd><div class="error"></kbd>', '<kbd></div></kbd>');</code>
+<code>$this->form_validation->set_error_delimiters('<kbd><div class="error"></kbd>', '<kbd></div></kbd>');</code>
<p>In this example, we've switched to using div tags.</p>
</li>
-<li><strong>Changing delimiters Individually</strong></p>
+<li><strong>Changing delimiters Individually</strong>
<p>Each of the two error generating functions shown in this tutorial can be supplied their own delimiters as follows:</p>
<code><?php echo form_error('field name', '<kbd><div class="error"></kbd>', '<kbd></div></kbd>'); ?></code>
-</p>Or:</p>
+<p>Or:</p>
<code><?php echo validation_errors('<kbd><div class="error"></kbd>', '<kbd></div></kbd>'); ?></code>
@@ -826,7 +826,7 @@ class <kbd>Member</kbd> extends Controller {<br /> }<br />
?></code>
-<p>In your validation config file, you will name your rule group <kbd>member/signup</kbd>:
+<p>In your validation config file, you will name your rule group <kbd>member/signup</kbd>:</p>
<code>$config = array(<br />
@@ -1202,12 +1202,6 @@ must contain the name of the checkbox, the second parameter must contain its val -
-
-
-
-
-
</div>
<!-- END CONTENT -->
|