<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cool Javascripts &#187; better form</title>
	<atom:link href="http://cool-javascripts.com/tag/better-form/feed" rel="self" type="application/rss+xml" />
	<link>http://cool-javascripts.com</link>
	<description>The best javascripts for your site</description>
	<lastBuildDate>Tue, 22 Mar 2011 14:35:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to make your forms better with jQuery?</title>
		<link>http://cool-javascripts.com/jquery/how-to-make-your-forms-better-with-jquery.html</link>
		<comments>http://cool-javascripts.com/jquery/how-to-make-your-forms-better-with-jquery.html#comments</comments>
		<pubDate>Tue, 27 Jan 2009 14:27:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[better form]]></category>
		<category><![CDATA[form plugins]]></category>

		<guid isPermaLink="false">http://cool-javascripts.com/uncategorized/how-to-make-your-forms-better-with-jquery.html</guid>
		<description><![CDATA[Say &#8220;Good Bye!&#8221; to the old, plain looking forms. Using jQuery we can create more interactive and stylish forms. What we need to do is, replace form fields that are difficult to style. jQuery provides lot of plugins which can imitate the behavior of these fields. Then we need to add some interactivity to forms [...]


Related posts:<ol><li><a href='http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html' rel='bookmark' title='Permanent Link: jQuery Ajax File Upload'>jQuery Ajax File Upload</a> <small> Ajax file upload plugin allows users to easily upload...</small></li><li><a href='http://cool-javascripts.com/modal-windows/jquery-impromptu-alert-and-confirm-replacement-with-form-support.html' rel='bookmark' title='Permanent Link: jQuery Impromptu &#8211; alert and confirm replacement with form support'>jQuery Impromptu &#8211; alert and confirm replacement with form support</a> <small>jQuery Impromptu is an extention to help provide a more...</small></li><li><a href='http://cool-javascripts.com/modal-windows/three-jquery-modal-plugins-to-repace-alert-and-confirm.html' rel='bookmark' title='Permanent Link: Three jQuery modal plugins to repace alert and confirm'>Three jQuery modal plugins to repace alert and confirm</a> <small> alert() and confirm() are two javascript functions that you...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Say &#8220;Good Bye!&#8221; to the old, plain looking forms. Using jQuery we can create more interactive and stylish forms. What we need to do is, replace form fields that are difficult to style. jQuery provides lot of plugins which can imitate the behavior of these fields.</p>
<p><img style="max-width: 800px;" src="http://cool-javascripts.com/wp-content/uploads/2009/01/better-forms.jpg" /></p>
<p>Then we need to add some interactivity to forms using auto complete, dynamic validation etc.<br />
<span id="more-153"></span></p>
<h3>Replacing checkbox and radio button</h3>
<p><img style="max-width: 800px;" src="http://cool-javascripts.com/wp-content/uploads/2009/01/jquery-checkbox-v110-beta-2-demo-1.jpg" /><img style="max-width: 800px;" src="http://cool-javascripts.com/wp-content/uploads/2009/01/jquery-checkbox-v110-beta-2-demo.jpg" /><img style="max-width: 800px;" src="http://cool-javascripts.com/wp-content/uploads/2009/01/jquery-ui-radiobutton-und-checkbox-replacement.jpg" /></p>
<p>Checkbox and radio buttons were a big problem for designers as the implementations were different in different browsers and it could not be styled. Now we can use simple jQuery plugins to imitate the behavior of checkbox and radio buttons. And these are fully stylable using css. Most of these plugins uses images for different states of checkbox button and hence it can be customized anyway.<br />
<b><br />
Recommended plugins</b></p>
<ul>
<li><a target="_blank" href="http://www.protofunc.com/scripts/jquery/checkbox-radiobutton/">http://www.protofunc.com/scripts/jquery/checkbox-radiobutton/</a></li>
<li><a target="_blank" href="http://widowmaker.kiev.ua/checkbox/">http://widowmaker.kiev.ua/checkbox/</a>
</li>
</ul>
<h3>Replacing Select box</h3>
<p><img style="max-width: 800px;" src="http://cool-javascripts.com/wp-content/uploads/2009/01/jquery-select-box.jpg" />Another browser dependent thing. Some browser supports basic styling but we need more customization.&nbsp; This plugin replaces select box with a normal input field styled with background image. As it is an image, it is customizable by changing the image.</p>
<p><a target="_blank" href="http://www.brainfault.com/2008/02/10/new-release-of-jquery-selectbox-replacement/">http://www.brainfault.com/2008/02/10/new-release-of-jquery-selectbox-replacement/</a></p>
<h3>Replacing File input fields</h3>
<p><img style="max-width: 800px;" src="http://cool-javascripts.com/wp-content/uploads/2008/12/ajax-fileupload.jpg" /><br />
Again, browser dependent thing which is almost impossible to style. Using Flash or Iframe, an Ajax effect can be achieved here.<br />
<a href="http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html"><br />
jQuery Plugins for Ajax upload</a></p>
<p>Or if you want to use normal file input field, <a target="_blank" href="http://www.quirksmode.org/dom/inputfile.html">http://www.quirksmode.org/dom/inputfile.html</a> has provided a solution using javascript and CSS. But it is not perfect.</p>
<h3>Auto complete</h3>
<p><img style="max-width: 800px;" src="http://cool-javascripts.com/wp-content/uploads/2009/01/jquery-autocomplete-plugin.jpg" /></p>
<p>It is better usability to automatically suggest something that the user wants.</p>
<ul>
<li><a target="_blank" href="http://jquery.bassistance.de/autocomplete/demo/">http://jquery.bassistance.de/autocomplete/demo/</a>
</li>
<li><a target="_blank" href="http://www.pengoworks.com/workshop/jquery/autocomplete.htm">http://www.pengoworks.com/workshop/jquery/autocomplete.htm</a></li>
</ul>
<h3>Restricting input fields</h3>
<p><img style="max-width: 800px;" src="http://cool-javascripts.com/wp-content/uploads/2009/01/digitalbush-masked-input-plugin.jpg" /></p>
<p>If we need some inputs in certain format, don&#8217;t rely on the user to input in that specific way. Instead restrict them to input only in that form. Less error in input.</p>
<p><a target="_blank" href="http://digitalbush.com/projects/masked-input-plugin/">http://digitalbush.com/projects/masked-input-plugin/</a></p>
<h3>Calendar Plugin</h3>
<p> <img  style="max-width: 800px;" src="http://cool-javascripts.com/wp-content/uploads/2009/01/jquery-ui-themeroller.jpg" /></p>
<p>It is always better to show a calendar to pick the date rather than select box or text boxes. Also, user can not select an invalid date.
</p>
<p><a target="_blank" href="http://marcgrabanski.com/pages/code/jquery-ui-datepicker">jQuery UI Date picker</a> is the best calendar plugin. Also try the <a target="_blank" href="http://ui.jquery.com/themeroller">theme roller</a> for customizing styles.</p>
<h3>Form Validation</h3>
<p><img style="max-width: 800px;" src="http://cool-javascripts.com/wp-content/uploads/2009/01/remember-the-milk-signup-form-jquery-validate-plugin-demo-with-friendly-permission-from-the-rtm-team-1.jpg" /></p>
<p>Instead of throwing errors after form submission, validating the form dynamically as the user types in and showing messages adds more interactiveness to form. User will know what is wrong as soon as he types in some thing. The best plugin to use is,<br />
<a target="_blank" href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/"></p>
<p>http://bassistance.de/jquery-plugins/jquery-plugin-validation/</a></p>
<h3>Form plugin</h3>
<blockquote><p>The jQuery Form Plugin allows you to easily and unobtrusively upgrade HTML forms to use        <abbr title="Asynchronous JavaScript and XML">AJAX</abbr>.        The main methods,        <code class="inline">ajaxForm</code> and <code class="inline">ajaxSubmit</code>,        gather information from the form element to determine how to manage the submit process.  Both of these methods support        numerous options which allows you to have full control over how the data is submitted.  Submitting a form        with AJAX doesn&#8217;t get any easier than this!
</p></blockquote>
<p><a target="_blank" href="http://malsup.com/jquery/form/"></p>
<p>http://malsup.com/jquery/form/</a></p>


<p>Related posts:<ol><li><a href='http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html' rel='bookmark' title='Permanent Link: jQuery Ajax File Upload'>jQuery Ajax File Upload</a> <small> Ajax file upload plugin allows users to easily upload...</small></li><li><a href='http://cool-javascripts.com/modal-windows/jquery-impromptu-alert-and-confirm-replacement-with-form-support.html' rel='bookmark' title='Permanent Link: jQuery Impromptu &#8211; alert and confirm replacement with form support'>jQuery Impromptu &#8211; alert and confirm replacement with form support</a> <small>jQuery Impromptu is an extention to help provide a more...</small></li><li><a href='http://cool-javascripts.com/modal-windows/three-jquery-modal-plugins-to-repace-alert-and-confirm.html' rel='bookmark' title='Permanent Link: Three jQuery modal plugins to repace alert and confirm'>Three jQuery modal plugins to repace alert and confirm</a> <small> alert() and confirm() are two javascript functions that you...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://cool-javascripts.com/jquery/how-to-make-your-forms-better-with-jquery.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

