diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-07-05 01:54:32 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-07-05 01:54:32 +0200 |
commit | c644128fdd49a47d791240e0e38b54cd22412bc5 (patch) | |
tree | fd2135d295c103395f5d0bd89056b0e798cfcdb3 /user_guide/helpers/form_helper.html | |
parent | 691010e72ec7fb4a05740332a10b5f046a82c666 (diff) |
fixed validation errors... about a zillion of em.
Diffstat (limited to 'user_guide/helpers/form_helper.html')
-rw-r--r-- | user_guide/helpers/form_helper.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html index d1eef8d8b..572f2a205 100644 --- a/user_guide/helpers/form_helper.html +++ b/user_guide/helpers/form_helper.html @@ -155,7 +155,7 @@ echo form_hidden($data);<br /> <h2>form_input()</h2>
<p>Lets you generate a standard text input field. You can minimally pass the field name and value in the first
-and second parameter:
+and second parameter:</p>
<code>echo form_input('username', 'johndoe');</code>
@@ -176,7 +176,7 @@ echo form_input($data);<br /> <input type="text" name="username" id="username" value="johndoe" maxlength="100" size="50" style="width:50%" /></code>
<p>If you would like your form to contain some additional data, like JavaScript, you can pass it as a string in the
-third parameter:
+third parameter:</p>
<code>$js = 'onClick="some_function()"';<br />
<br />
@@ -203,7 +203,7 @@ example, you will instead specify "rows" and "cols".</p> <p>Lets you create a standard drop-down field. The first parameter will contain the name of the field,
the second parameter will contain an associative array of options, and the third parameter will contain the
-value you wish to be selected. Example:
+value you wish to be selected. Example:</p>
<code>$options = array(<br />
'small' => 'Small Shirt',<br />
@@ -225,7 +225,7 @@ echo form_dropdown('shirts', $options, 'large');<br /> <p>If you would like the opening <select> to contain additional data, like JavaScript, you can pass it as a string in the
-fourth parameter:
+fourth parameter:</p>
<code>$js = 'onChange="some_function()"';<br />
<br />
@@ -234,7 +234,7 @@ echo form_dropdown('shirts', $options, 'large', $js);</code> <h2>form_checkbox()</h2>
-<p>Lets you generate a checkbox field. Simple example:
+<p>Lets you generate a checkbox field. Simple example:</p>
<code>echo form_checkbox('newsletter', 'accept', TRUE);<br />
@@ -261,7 +261,7 @@ echo form_checkbox($data);<br /> <input type="checkbox" name="newsletter" id="newsletter" value="accept" checked="checked" style="margin:10px" /></code>
<p>As with other functions, if you would like the tag to contain additional data, like JavaScript, you can pass it as a string in the
-fourth parameter:
+fourth parameter:</p>
<code>$js = 'onClick="some_function()"';<br />
<br />
@@ -335,7 +335,7 @@ Previous Topic: <a href="file_helper.html">File Helper</a> <a href="#top">Top of Page</a> ·
<a href="../index.html">User Guide Home</a> ·
Next Topic: <a href="html_helper.html">HTML Helper</a>
-<p>
+</p>
<p><a href="http://www.codeigniter.com">CodeIgniter</a> · Copyright © 2007 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
</div>
|