From 3d378b1fc634f5def5399bee35f11752a5929e1c Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Tue, 8 May 2007 23:03:59 +0000 Subject: typo fixes --- user_guide/libraries/validation.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide') 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:

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:

-<input type="checkbox" name="mycheck" value="1" <?= $this->validation->set_checkbox('mycheck', 1); ?> /> +<input type="checkbox" name="mycheck" value="1" <?= $this->validation->set_checkbox('mycheck', '1'); ?> />

set_radio()

@@ -697,7 +697,7 @@ must contain the name of the checkbox, the second parameter must contain its val

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:

-<input type="radio" name="myradio" value="1" <?= $this->validation->set_radio('myradio', 1); ?> /> +<input type="radio" name="myradio" value="1" <?= $this->validation->set_radio('myradio', '1'); ?> /> -- cgit v1.2.3-24-g4f1b