Added Form Validation Library and updated docs
diff --git a/user_guide/helpers/array_helper.html b/user_guide/helpers/array_helper.html
index ffe796c..2a6bad3 100644
--- a/user_guide/helpers/array_helper.html
+++ b/user_guide/helpers/array_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/compatibility_helper.html b/user_guide/helpers/compatibility_helper.html
index d98332a..7f32a55 100644
--- a/user_guide/helpers/compatibility_helper.html
+++ b/user_guide/helpers/compatibility_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/cookie_helper.html b/user_guide/helpers/cookie_helper.html
index 456a95e..f30528a 100644
--- a/user_guide/helpers/cookie_helper.html
+++ b/user_guide/helpers/cookie_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/date_helper.html b/user_guide/helpers/date_helper.html
index 0e174cc..41d6579 100644
--- a/user_guide/helpers/date_helper.html
+++ b/user_guide/helpers/date_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/directory_helper.html b/user_guide/helpers/directory_helper.html
index 9744429..cbd743e 100644
--- a/user_guide/helpers/directory_helper.html
+++ b/user_guide/helpers/directory_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/download_helper.html b/user_guide/helpers/download_helper.html
index 42e8aba..d9bf693 100644
--- a/user_guide/helpers/download_helper.html
+++ b/user_guide/helpers/download_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/email_helper.html b/user_guide/helpers/email_helper.html
index d8e522a..732e515 100644
--- a/user_guide/helpers/email_helper.html
+++ b/user_guide/helpers/email_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/file_helper.html b/user_guide/helpers/file_helper.html
index 05700ae..e534f50 100644
--- a/user_guide/helpers/file_helper.html
+++ b/user_guide/helpers/file_helper.html
@@ -27,7 +27,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html
index 76ded1e..868cadb 100644
--- a/user_guide/helpers/form_helper.html
+++ b/user_guide/helpers/form_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

@@ -258,7 +258,7 @@
 &lt;/fieldset&gt;</code>

 <p>Similar to other functions, you can submit an associative array in the second parameter if you prefer to set additional attributes. </p>

 <p><code>$attributes = array('id' =&gt; 'address_info', 'class' =&gt; 'address_info');<br />

-	echo form_fieldset('Address Information', $attributes);<br />

+    echo form_fieldset('Address Information', $attributes);<br />

 echo &quot;&lt;p&gt;fieldset content here&lt;/p&gt;\n&quot;;<br />

 echo form_fieldset_close(); <br />

 <br />

@@ -269,7 +269,7 @@
 &lt;/fieldset&gt;</code></p>

 <h2>form_fieldset_close()</h2>

 <p>Produces a closing &lt;/fieldset&gt; tag.  The only advantage to using this function is it permits you to pass data to it

-	which will be added below the tag.  For example:</p>

+    which will be added below the tag.  For example:</p>

 <code>$string = &quot;&lt;/div&gt;&lt;/div&gt;&quot;;<br />

 <br />

 echo fieldset_close($string);<br />

@@ -321,7 +321,7 @@
 <br />

 &lt;input type=&quot;submit&quot; name=&quot;mysubmit&quot; value=&quot;Submit Post!&quot; /&gt;</code>

 <p>Similar to other functions, you can submit an associative array in the first parameter if you prefer to set your own attributes.

-	The third parameter lets you add extra data to your form, like JavaScript.</p>

+    The third parameter lets you add extra data to your form, like JavaScript.</p>

 <h2>form_label()</h2>

 <p>Lets you generate a &lt;label&gt;. Simple example:</p>

 <code>echo form_label('What is your Name', 'username');<br />

@@ -329,13 +329,13 @@
 // Would produce:

 <br />

 &lt;label for=&quot;username&quot;&gt;What is your Name&lt;/label&gt;</code>

-<p>Similar to other functions, you can submit an associative array in the third parameter if you prefer to set additional attributes.	</p>

+<p>Similar to other functions, you can submit an associative array in the third parameter if you prefer to set additional attributes.    </p>

 <p><code>$attributes = array(<br />

 &nbsp;&nbsp;&nbsp;&nbsp;'class' =&gt; 'mycustomclass',<br />

 &nbsp;&nbsp;&nbsp;&nbsp;'style' =&gt; 'color: #000;',<br />

 );<br />

-	echo form_label('What is your Name', 'username', $attributes);<br />

-		<br />

+    echo form_label('What is your Name', 'username', $attributes);<br />

+        <br />

 // Would produce: <br />

 &lt;label for=&quot;username&quot; class=&quot;mycustomclass&quot; style=&quot;color: #000;&quot;&gt;What is your Name&lt;/label&gt;</code></p>

 <h2>form_reset()</h2>

@@ -411,6 +411,49 @@
 creating your own form elements.</p>

 

 

+<h2>set_value()</h2>

+

+<p>Permits you to set the value of an input form or textarea. You must supply the field name via the first parameter of the function.

+The second (optional) parameter allows you to set a default value for the form. Example:</p>

+

+<code>&lt;input type="text" name="quantity" value="<dfn>&lt;?php echo set_value('quantity', '0'); ?></dfn>" size="50" /></code>

+

+<p>The above form will show "0" when loaded for the firs time.</p>

+

+<h2>set_select()</h2>

+

+<p>If you use a <dfn>&lt;select></dfn> menu, this function permits you to display the menu item that was selected.  The first parameter

+must contain the name of the select menu, the second parameter must contain the value of

+each item, and the third (optional) parameter lets you set an item as the default (use boolean TRUE/FALSE).</p>

+

+<p>Example:</p>

+

+<code>

+&lt;select name="myselect"><br />

+&lt;option value="one" <dfn>&lt;?php echo  set_select('myselect', 'one', TRUE); ?></dfn> >One&lt;/option><br />

+&lt;option value="two" <dfn>&lt;?php echo  set_select('myselect', 'two'); ?></dfn> >Two&lt;/option><br />

+&lt;option value="three" <dfn>&lt;?php echo  set_select('myselect', 'three'); ?></dfn> >Three&lt;/option><br />

+&lt;/select>

+</code>

+

+

+<h2>set_checkbox()</h2>

+

+<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, and the third (optional) parameter lets you set an item as the default (use boolean TRUE/FALSE). Example:</p>

+

+<code>&lt;input type="checkbox" name="mycheck" value="1" <dfn>&lt;?php echo set_checkbox('mycheck', '1'); ?></dfn> /><br />

+&lt;input type="checkbox" name="mycheck" value="2" <dfn>&lt;?php echo set_checkbox('mycheck', '2'); ?></dfn> /></code>

+

+

+<h2>set_radio()</h2>

+

+<p>Permits you to display radio buttons in the state they were submitted. This function is identical to the <strong>set_checkbox()</strong> function above.</p>

+

+<code>&lt;input type="radio" name="myradio" value="1" <dfn>&lt;?php echo  set_radio('myradio', '1', TRUE); ?></dfn> /><br />

+&lt;input type="radio" name="myradio" value="2" <dfn>&lt;?php echo  set_radio('myradio', '2'); ?></dfn> /></code>

+

+

 

 

 </div>

diff --git a/user_guide/helpers/html_helper.html b/user_guide/helpers/html_helper.html
index aff896a..ab26cbc 100644
--- a/user_guide/helpers/html_helper.html
+++ b/user_guide/helpers/html_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/inflector_helper.html b/user_guide/helpers/inflector_helper.html
index 4a78287..b93a9c0 100644
--- a/user_guide/helpers/inflector_helper.html
+++ b/user_guide/helpers/inflector_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/language_helper.html b/user_guide/helpers/language_helper.html
index 7bf1068..9c60759 100644
--- a/user_guide/helpers/language_helper.html
+++ b/user_guide/helpers/language_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">
 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
 <tr>
-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>
+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>
 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
 </tr>
 </table>
diff --git a/user_guide/helpers/number_helper.html b/user_guide/helpers/number_helper.html
index 8d20cca..fea4cbf 100644
--- a/user_guide/helpers/number_helper.html
+++ b/user_guide/helpers/number_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/path_helper.html b/user_guide/helpers/path_helper.html
index ceb509c..42f4713 100644
--- a/user_guide/helpers/path_helper.html
+++ b/user_guide/helpers/path_helper.html
@@ -27,7 +27,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/security_helper.html b/user_guide/helpers/security_helper.html
index 627d9f9..588cafe 100644
--- a/user_guide/helpers/security_helper.html
+++ b/user_guide/helpers/security_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/smiley_helper.html b/user_guide/helpers/smiley_helper.html
index fd337c5..05f536e 100644
--- a/user_guide/helpers/smiley_helper.html
+++ b/user_guide/helpers/smiley_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/string_helper.html b/user_guide/helpers/string_helper.html
index 2a754a9..67318e8 100644
--- a/user_guide/helpers/string_helper.html
+++ b/user_guide/helpers/string_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/text_helper.html b/user_guide/helpers/text_helper.html
index fb58b83..65b82d8 100644
--- a/user_guide/helpers/text_helper.html
+++ b/user_guide/helpers/text_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/typography_helper.html b/user_guide/helpers/typography_helper.html
index 3116c36..538784d 100644
--- a/user_guide/helpers/typography_helper.html
+++ b/user_guide/helpers/typography_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/url_helper.html b/user_guide/helpers/url_helper.html
index 95599a5..e5e35df 100644
--- a/user_guide/helpers/url_helper.html
+++ b/user_guide/helpers/url_helper.html
@@ -27,7 +27,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>

diff --git a/user_guide/helpers/xml_helper.html b/user_guide/helpers/xml_helper.html
index 2d3cd44..6971115 100644
--- a/user_guide/helpers/xml_helper.html
+++ b/user_guide/helpers/xml_helper.html
@@ -28,7 +28,7 @@
 <div id="masthead">

 <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

 <tr>

-<td><h1>CodeIgniter User Guide Version 1.6.3</h1></td>

+<td><h1>CodeIgniter User Guide Version 1.7</h1></td>

 <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>

 </tr>

 </table>