summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers/form_helper.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/helpers/form_helper.html')
-rw-r--r--user_guide/helpers/form_helper.html14
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 />
&lt;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 />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'small'&nbsp;&nbsp;=> 'Small Shirt',<br />
@@ -225,7 +225,7 @@ echo form_dropdown('shirts', $options, 'large');<br />
<p>If you would like the opening &lt;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 />
&lt;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:&nbsp;&nbsp;<a href="file_helper.html">File Helper</a>
<a href="#top">Top of Page</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;
<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;
Next Topic:&nbsp;&nbsp;<a href="html_helper.html">HTML Helper</a>
-<p>
+</p>
<p><a href="http://www.codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2007 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
</div>