<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Cancel Forms And Avoid The If Then Statements</title>
	<atom:link href="http://www.bluemangolearning.com/blog/2008/10/cancel-forms-and-avoid-the-if-then-statements/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bluemangolearning.com/blog/2008/10/cancel-forms-and-avoid-the-if-then-statements/</link>
	<description>A blog about visual communication</description>
	<lastBuildDate>Tue, 07 Sep 2010 19:59:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jon</title>
		<link>http://www.bluemangolearning.com/blog/2008/10/cancel-forms-and-avoid-the-if-then-statements/comment-page-1/#comment-2166</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 30 Jul 2010 09:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/2008/10/16/cancel-forms-and-avoid-the-if-then-statements/#comment-2166</guid>
		<description>&lt;p&gt;Nice solution, thanks.
@jx if I understand you correctly, what would happen if javascript was turned off?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice solution, thanks.
@jx if I understand you correctly, what would happen if javascript was turned off?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.bluemangolearning.com/blog/2008/10/cancel-forms-and-avoid-the-if-then-statements/comment-page-1/#comment-1186</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 30 Jan 2010 21:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/2008/10/16/cancel-forms-and-avoid-the-if-then-statements/#comment-1186</guid>
		<description>&lt;p&gt;Thanks, worked like a charm&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, worked like a charm</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Greg DeVore</title>
		<link>http://www.bluemangolearning.com/blog/2008/10/cancel-forms-and-avoid-the-if-then-statements/comment-page-1/#comment-307</link>
		<dc:creator>Greg DeVore</dc:creator>
		<pubDate>Thu, 16 Oct 2008 15:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/2008/10/16/cancel-forms-and-avoid-the-if-then-statements/#comment-307</guid>
		<description>&lt;p&gt;@jx - Could be. I just did the above because I am lazy.  I also modified the &quot;check&lt;em&gt;for&lt;/em&gt;cancel&quot; method to redirect to the show action if there is an id param and the index action if there isn&#039;t.  That way it is properly handling canceling from a &quot;new&quot; form and an &quot;edit&quot; form.  &lt;/p&gt;

&lt;p&gt;onclick would probably work just fine - I just like the look of:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;submit_tag &quot;Cancel&quot;&lt;/code&gt; in my views.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@jx &#8211; Could be. I just did the above because I am lazy.  I also modified the &#8220;check<em>for</em>cancel&#8221; method to redirect to the show action if there is an id param and the index action if there isn&#8217;t.  That way it is properly handling canceling from a &#8220;new&#8221; form and an &#8220;edit&#8221; form.  </p>

<p>onclick would probably work just fine &#8211; I just like the look of:</p>

<p><code>submit_tag "Cancel"</code> in my views.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jx</title>
		<link>http://www.bluemangolearning.com/blog/2008/10/cancel-forms-and-avoid-the-if-then-statements/comment-page-1/#comment-308</link>
		<dc:creator>jx</dc:creator>
		<pubDate>Thu, 16 Oct 2008 15:01:58 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/2008/10/16/cancel-forms-and-avoid-the-if-then-statements/#comment-308</guid>
		<description>&lt;p&gt;What is the thought behind using a submit-button for cancel? It seems a regular button with an onclick-handler would be superior for the task?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What is the thought behind using a submit-button for cancel? It seems a regular button with an onclick-handler would be superior for the task?</p>]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.469 seconds -->
