<?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: CakePHP : Form Radio Default Checked Value</title>
	<atom:link href="http://www.lost-in-code.com/programming/php-code/cakephp-form-radio-default-checked-value/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lost-in-code.com/programming/php-code/cakephp-form-radio-default-checked-value/</link>
	<description>Web Development Resources</description>
	<lastBuildDate>Mon, 30 Jan 2012 10:42:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: nano</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-form-radio-default-checked-value/comment-page-1/#comment-7593</link>
		<dc:creator>nano</dc:creator>
		<pubDate>Thu, 30 Jun 2011 04:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=30#comment-7593</guid>
		<description>Thanks :)</description>
		<content:encoded><![CDATA[<p>Thanks <img src='http://www.lost-in-code.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaManLovett</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-form-radio-default-checked-value/comment-page-1/#comment-7463</link>
		<dc:creator>DaManLovett</dc:creator>
		<pubDate>Fri, 04 Mar 2011 13:43:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=30#comment-7463</guid>
		<description>If you have a lot of radio buttons and they have the same values, you can set up $options =  array(‘option1′=&gt;’option1′, ‘option2′=&gt;’option) then all you have to do is for each radio button put

 input(‘Model.field’, array(‘options&#039;=&gt;$options), array(‘default’ =&gt; ‘option2′)); ?&gt;</description>
		<content:encoded><![CDATA[<p>If you have a lot of radio buttons and they have the same values, you can set up $options =  array(‘option1′=&gt;’option1′, ‘option2′=&gt;’option) then all you have to do is for each radio button put</p>
<p> input(‘Model.field’, array(‘options&#8217;=&gt;$options), array(‘default’ =&gt; ‘option2′)); ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uttarakhandi</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-form-radio-default-checked-value/comment-page-1/#comment-7409</link>
		<dc:creator>Uttarakhandi</dc:creator>
		<pubDate>Thu, 10 Feb 2011 14:22:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=30#comment-7409</guid>
		<description>radio(‘Model.field’, array(‘option1′=&gt;’option1′, ‘option2′=&gt;’option2′), array(‘default’=&gt;’option2′, ‘legend’=&gt;false)); ?&gt;</description>
		<content:encoded><![CDATA[<p>radio(‘Model.field’, array(‘option1′=&gt;’option1′, ‘option2′=&gt;’option2′), array(‘default’=&gt;’option2′, ‘legend’=&gt;false)); ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-form-radio-default-checked-value/comment-page-1/#comment-7287</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Tue, 11 Jan 2011 22:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=30#comment-7287</guid>
		<description>You can do something like this also...

radio(&#039;Model.field&#039;, array(&#039;option1&#039;=&gt;&#039;option1&#039;, &#039;option2&#039;=&gt;&#039;option2&#039;), array(&#039;default&#039;=&gt;&#039;option2&#039;, &#039;legend&#039;=&gt;false)); ?&gt;</description>
		<content:encoded><![CDATA[<p>You can do something like this also&#8230;</p>
<p>radio(&#8216;Model.field&#8217;, array(&#8216;option1&#8242;=&gt;&#8217;option1&#8242;, &#8216;option2&#8242;=&gt;&#8217;option2&#8242;), array(&#8216;default&#8217;=&gt;&#8217;option2&#8242;, &#8216;legend&#8217;=&gt;false)); ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-form-radio-default-checked-value/comment-page-1/#comment-1156</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Tue, 29 Jun 2010 05:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=30#comment-1156</guid>
		<description>Thanks it worked, I was looking for an answer to this. :-)</description>
		<content:encoded><![CDATA[<p>Thanks it worked, I was looking for an answer to this. <img src='http://www.lost-in-code.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeffery</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-form-radio-default-checked-value/comment-page-1/#comment-872</link>
		<dc:creator>jeffery</dc:creator>
		<pubDate>Mon, 22 Mar 2010 05:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=30#comment-872</guid>
		<description>thankz very much............

i was having some trouble displaying the selected value for radio using cake methiod...this solved it...great tip.............
sometimes we make a mess for even the tings that can be done easily...</description>
		<content:encoded><![CDATA[<p>thankz very much&#8230;&#8230;&#8230;&#8230;</p>
<p>i was having some trouble displaying the selected value for radio using cake methiod&#8230;this solved it&#8230;great tip&#8230;&#8230;&#8230;&#8230;.<br />
sometimes we make a mess for even the tings that can be done easily&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Safi</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-form-radio-default-checked-value/comment-page-1/#comment-776</link>
		<dc:creator>Safi</dc:creator>
		<pubDate>Fri, 15 Jan 2010 06:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=30#comment-776</guid>
		<description>it is not working</description>
		<content:encoded><![CDATA[<p>it is not working</p>
]]></content:encoded>
	</item>
</channel>
</rss>

