summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/validation.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-05-09 01:03:59 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-05-09 01:03:59 +0200
commit3d378b1fc634f5def5399bee35f11752a5929e1c (patch)
tree50342f356a01c4541321bedefc7b928c4c89c5de /user_guide/libraries/validation.html
parent01f72ca6c27d99938cd1f814f812c5b844d51b83 (diff)
typo fixes
Diffstat (limited to 'user_guide/libraries/validation.html')
-rw-r--r--user_guide/libraries/validation.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/validation.html b/user_guide/libraries/validation.html
index 502200862..d5ad263a2 100644
--- a/user_guide/libraries/validation.html
+++ b/user_guide/libraries/validation.html
@@ -689,7 +689,7 @@ each item. Example:</p>
<p>Permits you to display a checkbox in the state it was submitted. The first parameter
must contain the name of the checkbox, the second parameter must contain its value. Example:</p>
-<code>&lt;input type="checkbox" name="mycheck" value="1" <dfn>&lt;?= $this->validation->set_checkbox('mycheck', 1); ?></dfn> /></code>
+<code>&lt;input type="checkbox" name="mycheck" value="1" <dfn>&lt;?= $this->validation->set_checkbox('mycheck', '1'); ?></dfn> /></code>
<h2>set_radio()</h2>
@@ -697,7 +697,7 @@ must contain the name of the checkbox, the second parameter must contain its val
<p>Permits you to display radio buttons in the state they were submitted. The first parameter
must contain the name of the radio button, the second parameter must contain its value. Example:</p>
-<code>&lt;input type="radio" name="myradio" value="1" <dfn>&lt;?= $this->validation->set_radio('myradio', 1); ?></dfn> /></code>
+<code>&lt;input type="radio" name="myradio" value="1" <dfn>&lt;?= $this->validation->set_radio('myradio', '1'); ?></dfn> /></code>