<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Fun with multiple submit buttons</title>
	<atom:link href="http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/feed/" rel="self" type="application/rss+xml" />
	<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/</link>
	<description>Established 1977</description>
	<pubDate>Sat, 17 May 2008 12:48:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Chris</title>
		<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-58042</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 29 Aug 2007 23:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://dev.muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-58042</guid>
		<description>I found that the following CSS is required for Safari:

.hiddenSubmit 
{
width:0px; 
height:0px; 
border-width:0px; 
background: none;
}

Otherwise a little gray box will be present.</description>
		<content:encoded><![CDATA[<p>I found that the following CSS is required for Safari:</p>
<p>.hiddenSubmit<br />
{<br />
width:0px;<br />
height:0px;<br />
border-width:0px;<br />
background: none;<br />
}</p>
<p>Otherwise a little gray box will be present.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrtvy josef</title>
		<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-49460</link>
		<dc:creator>mrtvy josef</dc:creator>
		<pubDate>Mon, 02 Jul 2007 12:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://dev.muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-49460</guid>
		<description>Thank you very much, number 1 solved the problem I encountered. I stumbled over that strange behaviour of IE several times, trying to fix it various ways, nothing helped. I've never thought it can be so simple :-)
Josef</description>
		<content:encoded><![CDATA[<p>Thank you very much, number 1 solved the problem I encountered. I stumbled over that strange behaviour of IE several times, trying to fix it various ways, nothing helped. I&#8217;ve never thought it can be so simple <img src='http://muffinresearch.co.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
Josef</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karim</title>
		<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-45631</link>
		<dc:creator>Karim</dc:creator>
		<pubDate>Thu, 14 Jun 2007 23:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://dev.muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-45631</guid>
		<description>Following on to my comment just made...I did find one apparent solution:

.hidden
{
  width:0px;
  height:0px;
  border-width:0px;
}

...



This worked for me in IE6, IE7, and Firefox 2.0. Page is XHTML Strict, if that makes a difference. The button is invisible, but pressing enter from the form it's in activates this button as long as it's the first button in the markup within the form.</description>
		<content:encoded><![CDATA[<p>Following on to my comment just made&#8230;I did find one apparent solution:</p>
<p>.hidden<br />
{<br />
  width:0px;<br />
  height:0px;<br />
  border-width:0px;<br />
}</p>
<p>&#8230;</p>
<p>This worked for me in IE6, IE7, and Firefox 2.0. Page is XHTML Strict, if that makes a difference. The button is invisible, but pressing enter from the form it&#8217;s in activates this button as long as it&#8217;s the first button in the markup within the form.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karim</title>
		<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-45630</link>
		<dc:creator>Karim</dc:creator>
		<pubDate>Thu, 14 Jun 2007 23:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://dev.muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-45630</guid>
		<description>Comment 26 won't work in IE7 I believe since IE7 follows the rules better:
.hiddenBtn {
width: 0px;
height: 0px;
}

* html #hiddenBtn {
display: none;
}


Neither will comment 7 work in IE7:
/* This is for IE */
.hiddenBtn {
  width: 0px;
  height: 0px;
}

/* This is for Firefox since IE ignores it */
.hiddenBtn[class] {
  display: none;
}

Both the star hack and advanced selector hack are fixed. IE7 does the right thing with display:none, but that also makes the button have no existence--it doesn't count as far as pressing enter from the form. The zero size trick makes it disappear in IE7 still and it still will be activated as we want it to when you press enter...however, Firefox will still show a little one or two boxy thing with size 0.</description>
		<content:encoded><![CDATA[<p>Comment 26 won&#8217;t work in IE7 I believe since IE7 follows the rules better:<br />
.hiddenBtn {<br />
width: 0px;<br />
height: 0px;<br />
}</p>
<p>* html #hiddenBtn {<br />
display: none;<br />
}</p>
<p>Neither will comment 7 work in IE7:<br />
/* This is for IE */<br />
.hiddenBtn {<br />
  width: 0px;<br />
  height: 0px;<br />
}</p>
<p>/* This is for Firefox since IE ignores it */<br />
.hiddenBtn[class] {<br />
  display: none;<br />
}</p>
<p>Both the star hack and advanced selector hack are fixed. IE7 does the right thing with display:none, but that also makes the button have no existence&#8211;it doesn&#8217;t count as far as pressing enter from the form. The zero size trick makes it disappear in IE7 still and it still will be activated as we want it to when you press enter&#8230;however, Firefox will still show a little one or two boxy thing with size 0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gbm</title>
		<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-37149</link>
		<dc:creator>Gbm</dc:creator>
		<pubDate>Fri, 20 Apr 2007 02:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://dev.muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-37149</guid>
		<description>did anyone mention a fix for the IE? if not then i've used this in my style sheet... seems to work in both browsers fine... (sorry, too lazy to go over the thread again to see if there has been a fix mentioned) :-)

.hiddenBtn {
  width: 0px;
  height: 0px;
}

* html #hiddenBtn {
  display: none;
}</description>
		<content:encoded><![CDATA[<p>did anyone mention a fix for the IE? if not then i&#8217;ve used this in my style sheet&#8230; seems to work in both browsers fine&#8230; (sorry, too lazy to go over the thread again to see if there has been a fix mentioned) <img src='http://muffinresearch.co.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>.hiddenBtn {<br />
  width: 0px;<br />
  height: 0px;<br />
}</p>
<p>* html #hiddenBtn {<br />
  display: none;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehrere Submit-Buttons&#160;&#8211;&#160;hangy.deâ€½</title>
		<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-34338</link>
		<dc:creator>Mehrere Submit-Buttons&#160;&#8211;&#160;hangy.deâ€½</dc:creator>
		<pubDate>Mon, 26 Mar 2007 11:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://dev.muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-34338</guid>
		<description>[...] sieht so aus als sei dieses Problem durchaus altbekannt und als ob es dafÃ¼r keine richtige ProblemlÃ¶sung gebe, da es nicht falsch sein kann, weil es [...]</description>
		<content:encoded><![CDATA[<p>[...] sieht so aus als sei dieses Problem durchaus altbekannt und als ob es dafÃ¼r keine richtige ProblemlÃ¶sung gebe, da es nicht falsch sein kann, weil es [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frex65</title>
		<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-26298</link>
		<dc:creator>frex65</dc:creator>
		<pubDate>Thu, 15 Feb 2007 10:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://dev.muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-26298</guid>
		<description>Adding an extra hidden button is a bad idea since a blind person using a screenreader will "hear" the extra button and probably be confused by it. And since there's already a work-around, you don't need that extra button after all.</description>
		<content:encoded><![CDATA[<p>Adding an extra hidden button is a bad idea since a blind person using a screenreader will &#8220;hear&#8221; the extra button and probably be confused by it. And since there&#8217;s already a work-around, you don&#8217;t need that extra button after all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Byte-Dompteur &#187; mehrere submits in einem Form</title>
		<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-13396</link>
		<dc:creator>Byte-Dompteur &#187; mehrere submits in einem Form</dc:creator>
		<pubDate>Fri, 27 Oct 2006 14:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://dev.muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-13396</guid>
		<description>[...] Gefunden habe ich diese Lösung hier:  http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-166 [...]</description>
		<content:encoded><![CDATA[<p>[...] Gefunden habe ich diese Lösung hier:  <a href="http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-166" rel="nofollow">http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-166</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caesar</title>
		<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-11292</link>
		<dc:creator>Caesar</dc:creator>
		<pubDate>Wed, 04 Oct 2006 17:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://dev.muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-11292</guid>
		<description>what a wonderful post. I am looking for it, and I found it. Great work. 

It is so glad to see that I have thought about both solutions that this post and comments mentioned. I have tried to set the button's display to none, but it won't work for IE. To set the button's size to 0 is really a smart way, but I like the writer's method better.</description>
		<content:encoded><![CDATA[<p>what a wonderful post. I am looking for it, and I found it. Great work. </p>
<p>It is so glad to see that I have thought about both solutions that this post and comments mentioned. I have tried to set the button&#8217;s display to none, but it won&#8217;t work for IE. To set the button&#8217;s size to 0 is really a smart way, but I like the writer&#8217;s method better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruel</title>
		<link>http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-10858</link>
		<dc:creator>Ruel</dc:creator>
		<pubDate>Wed, 27 Sep 2006 15:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://dev.muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/#comment-10858</guid>
		<description>just had almost similar prob. my form only has 1 textfield as this is the only input field that needs to be entered. other data are fixed so i used a hidden field. problem occurs when u press the enter key after inputting something in the textfield. upon reading this very helpful post, i got an idea. i redesigned my form so that i placed another textfield and echo a value of one of my hidden fields... something like that. it worked!!!</description>
		<content:encoded><![CDATA[<p>just had almost similar prob. my form only has 1 textfield as this is the only input field that needs to be entered. other data are fixed so i used a hidden field. problem occurs when u press the enter key after inputting something in the textfield. upon reading this very helpful post, i got an idea. i redesigned my form so that i placed another textfield and echo a value of one of my hidden fields&#8230; something like that. it worked!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
