<?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>PHP, MySQL, ZF, Python, Linux, Mac, C++, Java, Flex, Air, ActionScript &#38; apps development.</description>
	<lastBuildDate>Tue, 24 Aug 2010 06:32:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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/</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>Me2resh</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[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; No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<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>

<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.php-architect.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>]]></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>0</slash:comments>
		</item>
	</channel>
</rss>
