summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-09-22 15:49:46 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-09-22 15:49:46 +0200
commit968b6160fc214219e9f15fe8e47acbe066f41a35 (patch)
tree320cc23af1967e7f4cd18f65e51a1b3eb6ef397f
parentaef13d9f7b6bd118cbf26cf27d98b18587572e2f (diff)
typos, html validation
-rw-r--r--user_guide/libraries/form_validation.html16
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>&lt;?php echo $this->form_validation->set_error_delimiters('<kbd>&lt;div class="error"></kbd>', '<kbd>&lt;/div></kbd>');</code>
+<code>$this->form_validation->set_error_delimiters('<kbd>&lt;div class="error"></kbd>', '<kbd>&lt;/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>&lt;?php echo form_error('field name', '<kbd>&lt;div class="error"></kbd>', '<kbd>&lt;/div></kbd>'); ?></code>
-</p>Or:</p>
+<p>Or:</p>
<code>&lt;?php echo validation_errors('<kbd>&lt;div class="error"></kbd>', '<kbd>&lt;/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 -->