<?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>PHP Architect blog &#187; disable</title>
	<atom:link href="http://www.php-architect.com/blog/tag/disable/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.php-architect.com/blog</link>
	<description>me, myself, and my code</description>
	<lastBuildDate>Wed, 14 Sep 2011 12:50:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to Disable &#8220;Enter&#8221; action to submit a form</title>
		<link>http://www.php-architect.com/blog/2008/01/07/how-to-disable-enter-action-to-submit-a-form/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-disable-enter-action-to-submit-a-form</link>
		<comments>http://www.php-architect.com/blog/2008/01/07/how-to-disable-enter-action-to-submit-a-form/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 19:09:47 +0000</pubDate>
		<dc:creator>aibrahim</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[enter]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[submit.]]></category>
		<guid isPermaLink="false">http://www.abdelaliem.com/blog/?p=21</guid>
		<description><![CDATA[<a href="http://www.php-architect.com/blog/2008/01/07/how-to-disable-enter-action-to-submit-a-form/" title="How to Disable &quot;Enter&quot; action to submit a form"></a>this is how to disable the Enter action on submitting a form, and forcing the user to click submit button 1 2 3 4 5 &#60;form name=&#34;formName&#34; method=&#34;??&#34; action=&#34;??&#34;&#62; &#60;input /&#62; &#60;input value=&#34;Submit&#34; onclick=&#34;formName.submit()&#34; type=&#34;button&#34; /&#62; &#60;/strong&#62; &#60;/form&#62;]]></description>
			<content:encoded><![CDATA[<a href="http://www.php-architect.com/blog/2008/01/07/how-to-disable-enter-action-to-submit-a-form/" title="How to Disable &quot;Enter&quot; action to submit a form"></a><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.php-architect.com/blog/2008/01/07/how-to-disable-enter-action-to-submit-a-form/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><p>this is how to disable the Enter action on submitting a form, and forcing the user to click submit button</p>
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;formName&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;??&quot;</span> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;??&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Submit&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;formName.submit()&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;button&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">strong</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span></pre></td></tr></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.php-architect.com/blog/2008/01/07/how-to-disable-enter-action-to-submit-a-form/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

