<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Mike Nimer&apos;s Blog - CFForm</title>
			<link>http://blog.mikenimer.com/index.cfm</link>
			<description>Random posting about Flex, ColdFusion, Travel, Java, and anything else I can think of. Follow me on twitter @mnimer.</description>
			<language>en-us</language>
			<pubDate>Tue, 07 Sep 2010 11:52:46 -0400</pubDate>
			<lastBuildDate>Mon, 04 Dec 2006 12:04:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>mikenimer@yahoo.com</managingEditor>
			<webMaster>mikenimer@yahoo.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>mikenimer@yahoo.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			<itunes:image href="" />
			<image>
				<url></url>
				<title>Mike Nimer&apos;s Blog</title>
				<link>http://blog.mikenimer.com/index.cfm</link>
			</image>
			<itunes:explicit>no</itunes:explicit>
			
			<item>
				<title>CFForm xml forms</title>
				<link>http://blog.mikenimer.com/index.cfm/2006/12/4/CFForm-xml-forms</link>
				<description>
				
				Sure it&apos;s a slow adoption feature in ColdFusion, but it hasn&apos;t been forgotten. And those that know how to use it - love it. 

Wim Dewijngaert @ &lt;a href=&quot;http://cfform.dewijngaert.be&quot; target=&quot;_blank&quot;&gt;http://cfform.dewijngaert.be&lt;/a&gt; has created a number of great DHTML components that work with CFForm (format=&quot;xml&quot;). 

So if you&apos;ve already discovered the hidden power in xml forms or have been meaning to use them - go take a look and try some of them out. 

I knew that people would eventually start posting components/xsl skins for cfform. Does anyone else have any that they would like to post (they aren&apos;t hard to make). 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>CFForm XML Skins</category>				
				
				<category>CFForm</category>				
				
				<pubDate>Mon, 04 Dec 2006 12:04:00 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm/2006/12/4/CFForm-xml-forms</guid>
				
			</item>
			
			<item>
				<title>CFForm.com is moving</title>
				<link>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=6BB97F9F-4E22-1671-538677A0CC541C67</link>
				<description>
				
				Time to simplify some blogs/sites, Why do I have two, well that&apos;s another story.  But for now, I&apos;ve decided that there is no reason to try and maintain 2 different sites. One specific to cfform and one to everything else ColdFusion. So I&apos;ve decided to merge &lt;a href=&quot;http://www.cfform.com&quot;&gt;cfform.com&lt;/a&gt; into &lt;a href=&quot;http://www.mikenimer.com&quot;&gt;mikenimer.com&lt;/a&gt;. 



This is not the end of cfform , it&apos;s just moving. The domain will still point to cfform.com articles. However this does mean you need to update your RSS feeds. 



The new CFForm RSS feed is going to be: 

&lt;a href=&quot;http://www.mikenimer.com/rss.cfm?mode=short&amp;mode2=cat&amp;catid=66C5B7CE-CC7C-166B-B62E58948BAE104B&quot;&gt;http://www.mikenimer.com/rss.cfm?mode=short&amp;mode2=cat&amp;catid=66C5B7CE-CC7C-166B-B62E58948BAE104B&lt;/a&gt; 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>CFForm</category>				
				
				<pubDate>Wed, 05 Apr 2006 18:23:00 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=6BB97F9F-4E22-1671-538677A0CC541C67</guid>
				
			</item>
			
			<item>
				<title>CFForm/Flex Visio Stencil</title>
				<link>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=E1B3254F-4E22-1671-5EE5FCA147B57320</link>
				<description>
				
				&lt;p&gt;
I just posted this on my personal site (&lt;a href=&quot;http://www.mikenimer.com&quot;&gt;mikenimer.com&lt;/a&gt;) but for those of you just read this site I thought a double post was a good idea. 
&lt;/p&gt;

&lt;p&gt;
Darren Houle has put together a Visio Stencil for laying out ColdFusion flash forms, and Flex applications - if you?re so inclined ;) It has 43 different Halo components (Charts, Tabs, Accordions, Calendars, etc..). 
&lt;/p&gt;

&lt;p&gt;
You can get it &lt;a href=&quot;http://63.135.103.199/ecomm&quot;&gt;here&lt;/a&gt;. Trust me I&apos;ve been using this for the last week and a little wireframing before you start coding makes you finish a lot quicker, and it&apos;s a better application for it. 
&lt;p&gt;
&lt;p&gt;
&lt;a href=&quot;http://63.135.103.199/ecomm&quot;&gt;http://63.135.103.199/ecomm&lt;/a&gt;
&lt;/p&gt;
&lt;img src=&quot;http://63.135.103.199/ecomm/images/visio_screenshot.gif&quot; width=&quot;500&quot; height=&quot;376&quot;&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Wed, 30 Nov 2005 12:03:32 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=E1B3254F-4E22-1671-5EE5FCA147B57320</guid>
				
			</item>
			
			<item>
				<title>New Flash Form Feature #2</title>
				<link>http://blog.mikenimer.com/index.cfm/2005/9/28/New-Flash-Form-Feature-2</link>
				<description>
				
				&lt;p&gt;Another new feature in Flash Forms in ColdFusion 7.0.1 (Merrimack) is support for onLoad in your flash forms.&amp;nbsp; What does this mean? This means you can define a function to call when the form is loaded to help initialize different parts of your form. &lt;/p&gt;

&lt;p&gt;But first, if you&amp;nbsp;haven&apos;t yet - you can download it here:&lt;br/&gt;

&lt;a href=&quot;http://www.macromedia.com/support/coldfusion/downloads_updates.html#mx7&quot;&gt;downloads updates&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And you might want to read this post first, about creating functions in flash forms (another new feature)&lt;br/&gt;

&lt;a href=&quot;http://www.cfform.com/invoke.cfm?objectid=9C3432E6-4E22-1671-5365802394A2DD57&amp;amp;method=full&quot;&gt;read&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m hoping to update the different examples on CFFORM.com soon to use these new techniques but for now here is an example: &lt;/p&gt; 

&lt;p&gt;Also don&apos;t forget to read the release notes to learn about all the new goodnees in 7.0.1 &lt;br /&gt;
&lt;a href=&quot;http://www.macromedia.com/support/documentation/en/coldfusion/mx701updater/cf701releasenotes01.html&quot;&gt;read&lt;/a&gt;
&lt;/p&gt;

&lt;code&gt;
&lt;cfform format=&quot;Flash&quot; onLoad=&quot;initApp()&quot;&gt;
	&lt;cfformitem type=&quot;script&quot;&gt;
		function initApp()
		{
		status.text = &quot;this form is now loaded and ready!&quot;;
		}
	&lt;/cfformitem&gt;
	
	&lt;cfinput type=&quot;text&quot; name=&quot;status&quot; value=&quot;&quot;&gt;
&lt;/cfform&gt;
&lt;/code&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Wed, 28 Sep 2005 08:21:00 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm/2005/9/28/New-Flash-Form-Feature-2</guid>
				
			</item>
			
			<item>
				<title>New Flash Form Feature #1</title>
				<link>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=9C3432E6-4E22-1671-5365802394A2DD57</link>
				<description>
				
				&lt;p&gt;With the recent release ColdFusion 7.0.1 (Merrimack) I can finally tell you about some of the new Features. But first, if you haven&apos;t downloaded yet - do so!&lt;/p&gt;
&lt;p&gt;You can download it here:&lt;br/&gt;
&lt;a href=&quot;http://www.macromedia.com/support/coldfusion/downloads_updates.html#mx7&quot;&gt;http://www.macromedia.com/support/coldfusion/downloads_updates.html#mx7&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The first feature to tell you about is support&amp;nbsp;for actionscript functions proper. Now you can create real Actionscript functions inside of your flash forms, no more &amp;lt;cfsavecontent&amp;gt; hacks. This&amp;nbsp;should help to keep you flash forms a lot more manageable, it might even help that 32k limit (since you aren&apos;t copy/pasting as much code)..&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Previously you might of done this:&lt;br/&gt;
&amp;lt;cfsavecontent var=&amp;quot;as1&amp;quot;&amp;gt;&lt;br/&gt;
alert(&apos;hi&apos;);&lt;br/&gt;
&amp;lt;/cfsavecontent&amp;gt;&lt;br/&gt;
&lt;br/&gt;
&amp;lt;cfinput type=&amp;quot;Button&amp;quot; onClick=&amp;quot;#as1#&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;Now you can do this:&lt;br/&gt;
&amp;lt;cfform format=&amp;quot;flash&amp;quot;&amp;gt;&lt;br/&gt;
&amp;lt;cfformitem type=&amp;quot;script&amp;quot;&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function alertMsg(msg)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(msg);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br/&gt;
&amp;lt;/cfformitem&amp;gt;&lt;br/&gt;
&lt;br/&gt;
&amp;lt;cfinput type=&amp;quot;button&amp;quot; onClick=&amp;quot;alertMsg(&apos; this is a button click &apos;)&amp;quot;&amp;gt;&lt;br/&gt;
&amp;lt;cfinput type=&amp;quot;button&amp;quot; onClick=&amp;quot;alertMsg(&apos; you clicked the wrong button&apos;&amp;quot;&amp;gt;&lt;br/&gt;
&amp;lt;/cfform&amp;gt;&lt;/p&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Wed, 28 Sep 2005 08:08:18 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=9C3432E6-4E22-1671-5365802394A2DD57</guid>
				
			</item>
			
			<item>
				<title>Ray Camden - Up Down Select List in Flash Forms</title>
				<link>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=4A913581-4E22-1671-5B6B80D7DFB93407</link>
				<description>
				
				&lt;p&gt;Ray Camden recently posted an example of adding Up/Down controls to a cfselect list in a Flash Form. This is a good example of how you can extend flash forms with actionscript. &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://ray.camdenfamily.com/index.cfm/2005/9/9/Ask-a-Jedi-Moving-items-up-and-down&quot;&gt;http://ray.camdenfamily.com/index.cfm/2005/9/9/Ask-a-Jedi-Moving-items-up-and-down&lt;/a&gt;&lt;/p&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Mon, 12 Sep 2005 11:41:01 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=4A913581-4E22-1671-5B6B80D7DFB93407</guid>
				
			</item>
			
			<item>
				<title>Centering buttons in a Flash Forms</title>
				<link>http://blog.mikenimer.com/index.cfm/2005/9/12/Centering-buttons-in-a-Flash-Forms</link>
				<description>
				
				&lt;p&gt;Recently I answered a question about how to center some Form Buttons in a flash form. The secret to doing this&amp;nbsp;is the spacer form item. The reason this works is that the spacers will take up the extra space, by default, leaving the button in the middle.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt; 

&lt;p&gt;&lt;code&gt;
&lt;cfformgroup type=&quot;horizontal&quot;&gt;
	&lt;cfformitem type=&quot;spacer&quot;/&gt;
	&lt;cfinput type=&quot;button&quot; name=&quot;foo&quot; value=&quot;click&quot;&gt;
	&lt;cfformitem type=&quot;spacer&quot;/&gt;
&lt;/cfformgroup&gt;
&lt;/code&gt;&lt;/p&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Mon, 12 Sep 2005 11:37:00 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm/2005/9/12/Centering-buttons-in-a-Flash-Forms</guid>
				
			</item>
			
			<item>
				<title>Paul Robertsons on Flash Forms</title>
				<link>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=A5FDDC0D-4E22-1671-5DB7888C9236F366</link>
				<description>
				
				&lt;p&gt;&lt;a href=&quot;http://probertson.com/&quot;&gt;Paul Robertson&lt;/a&gt; has recently jumped in feet first to Flash Forms and along the way has posted his experiece as well as a great series of posts about how the flash forms work and how to use them better. &lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href=&quot;http://probertson.com/articles/2005/08/10/first_flash_forms/&quot;&gt;Select all checkboxes in ColdFusion Flash Forms&lt;/a&gt; &lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;http://probertson.com/articles/2005/08/10/select_all_cf_flash_forms/&quot;&gt;Part 1: Select all checkboxes in ColdFusion Flash Forms&lt;/a&gt; &lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;http://probertson.com/articles/2005/08/10/beginners_advice/&quot;&gt;Part 2: Advice for building and debugging ColdFusion Flash Forms, from one beginner to another&lt;/a&gt; &lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;http://probertson.com/articles/2005/08/10/creating_dynamic_form_fields/&quot;&gt;Part 3: Creating &amp;ldquo;dynamic&amp;rdquo; form fields in ColdFusion Flash Forms &amp;mdash; how and why&lt;/a&gt; &lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;http://probertson.com/articles/2005/08/10/getting_data_back/&quot;&gt;part 4: Getting meaningful data from dynamically generated fields in ColdFusion Flash Forms&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Thu, 11 Aug 2005 12:42:21 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=A5FDDC0D-4E22-1671-5DB7888C9236F366</guid>
				
			</item>
			
			<item>
				<title>Uploading a file with Flash Forms</title>
				<link>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=A13BA6E8-4E22-1671-57126AA6B703EA4C</link>
				<description>
				
				&lt;p&gt;It&apos;s official the #1 most requested feature in CF Flash Forms - File Uploads - is now possible. &lt;/p&gt;
&lt;p&gt;Originally this wasn&apos;t in the CF Flash Forms because of a limitation of with the Flash Player itself, however, with Flash 8 this is not longer a limitation. In Flash 8 macromedia have added support for file uploading which means it&apos;s now possible to support this in CF Forms. &lt;/p&gt;
&lt;p&gt;Nahuel and Laura at &lt;a href=&quot;http://www.asfusion.com&quot;&gt;ASFusion&lt;/a&gt; have stepped up and got this working against the latest beta of Flash 8, even before I could add this to the product. They even wrapped it all up in a nice custom tag so you can easily add it to your forms - Gotta love the ColdFusion Community. &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.asfusion.com/blog/entry/file-upload-with-coldfusion-flash-forms&quot;&gt;Check out the posting here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Before you ask, no this won&apos;t be in the CF7 &amp;quot;Merrimack&amp;quot; release. Due to Release schedules of CF and the Flash Player adding support for &amp;lt;cfinput type=&amp;quot;file&amp;quot;&amp;gt;&amp;nbsp;will have to wait until the next major version of CF. &lt;/p&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Wed, 10 Aug 2005 14:31:45 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=A13BA6E8-4E22-1671-57126AA6B703EA4C</guid>
				
			</item>
			
			<item>
				<title>CFForm and Flash Remoting</title>
				<link>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=A1233CFD-4E22-1671-5B193B1ECDF79450</link>
				<description>
				
				&lt;p&gt;It&apos;s been awhile since my last posting and I have to say wow! people have been busy with flash forms. Especially the folks at ASFusion.com. In the last week or so they have uploaded 2 good examples. &lt;/p&gt;
&lt;p&gt;The first example(s) are using Flash Remoting in Flash forms. The initial posting was this post &amp;quot;&lt;a href=&quot;http://www.asfusion.com/blog/entry/remoting-for-coldfusion-flash-forms&quot;&gt;Remoting for ColdFusion Flash Forms&lt;/a&gt;&amp;quot;. The interesting part to this is that they&amp;nbsp; aren&apos;t using any Flex features, instead they are using old school Flash 6 (I think that&apos;s when we introduced Flash Remoting) Actionscript. &lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Related Articles:&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;http://www.asfusion.com/blog/entry/populating-a-cfgrid-with-flash-remoting&quot;&gt;Populating a cfgrid with Flash Remoting&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;http://www.asfusion.com/blog/entry/how-to-populate-a-cfselect-with-flash&quot;&gt;How to populate a cfselect with Flash Remoting&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;http://www.asfusion.com/blog/entry/cftree-populated-with-flash-remoting-and-xml&quot;&gt;CFTree populated with Flash Remoting and XML&lt;/a&gt;&lt;br/&gt;
    &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And the granddaddy of all Flash Remoting examples A full blown &lt;a href=&quot;http://www.asfusion.com/blog/entry/mxna-reader-built-with-cfforms&quot;&gt;RSS Feed Reader built with CFForm&lt;/a&gt;&amp;nbsp;and Flash Remoting. I want to point something out here, this is a good example of what CFForm can do - but to be fair, and give the proper warnings, it&apos;s not what it was designed for.&amp;nbsp; It was designed to make rich forms on the web not build RIA Applications. Nahuel even points out that in his next version he wants to move this application to Flex&lt;/p&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Why? Because I want to add more features to it and I already reached the limit in the cfform. Flex will give us the freedom and ability to create classes, custom components and make everything more OO. I have been working in flex lately, and the tags are very similar to cfform. In that way, I think the migration won&apos;t be that hard.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Wed, 10 Aug 2005 14:05:05 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=A1233CFD-4E22-1671-5B193B1ECDF79450</guid>
				
			</item>
			
			<item>
				<title>XForms: The &apos;Other&apos; New Forms in CFMX 7</title>
				<link>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=5819817B-4E22-1671-507E3CEF7E2F02EF</link>
				<description>
				
				&lt;p&gt;Matt Woodward has posted a great new article to Fusion Authority about the new XML forms feature in ColdFusion. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://www.fusionauthority.com/Article.cfm/ArticleID:4430&quot; target=&quot;_blank&quot;&gt;Full Article&lt;/a&gt;
&lt;/p&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Tue, 07 Jun 2005 16:39:23 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=5819817B-4E22-1671-507E3CEF7E2F02EF</guid>
				
			</item>
			
			<item>
				<title>Date format gotcha</title>
				<link>http://blog.mikenimer.com/index.cfm/2005/4/22/Date-format-gotcha</link>
				<description>
				
				&lt;p&gt;Here is a gotcha to watch out for. I just noticed this while I was looking into a bug about why dates in the grid were offset from the dates in the database. &lt;/p&gt;

&lt;p&gt;In the java and ColdFusion date formatters you use the letter H to represent the hour in 0-23 hour format. However in the flex date formatter (which we use for flash forms) H represents the hour in 1-24 format not the 0-23 format that I was used to. In flash you need to use the letter J for the 0-23 format in a date mask.  &lt;/p&gt;

&lt;p&gt;So if you run into the problem where your dates are displayed 1 hour off, remember to use J instead of H in the mask attribute. &lt;/p&gt;

&lt;p&gt;
Here are all the flex dateFormatter mask characters. 
&lt;code&gt;
Valid pattern letters include:
Y - Year.
M - Month.
D - Day in month.
E - Day in week.
A - AM/PM indicator.
J - Hour in day (0 to 23).
H - Hour in day (1 to 24).
K - Hour in AM/PM (0-11).
L - Hour in AM/PM (1-12).
N - Minute in hour.
S - Second in minute.
&lt;/code&gt;

&lt;a href=&quot;
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/formatters/DateFormatter.html&quot; target=&quot;_blank&quot;&gt;Date Formatter doc&lt;/a&gt;
&lt;/p&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Fri, 22 Apr 2005 00:34:00 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm/2005/4/22/Date-format-gotcha</guid>
				
			</item>
			
			<item>
				<title>Binding cfgrid to cftree</title>
				<link>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=53B844AC-4E22-1671-525CBDB11768303F</link>
				<description>
				
				Todd Sharp sent me this example of binding a flash grid to the flash tree, in a flash form, and using the tree to filter the items in the grid. I&apos;ll let Todd explain this example in his own words.

&lt;br&gt;&lt;br&gt;

&lt;i&gt;
The basic code for filtering was tweaked from the previous examples on your site.  I&apos;ve also added two select boxes which can be used as additional filters for the grid - either independently or in conjunction with the filtered results from the tree.  This application seems to be best suited for presenting a &quot;main menu&quot; of options (which is how I&apos;ve used it in my real life application for my companies intranet site that I&apos;m working on).  In other words, the grid is populated initial with all data from the highest level entity (for example, company or region) and the filters applied to find a specific data row that the user is looking for.  I then bind a hidden text box to the record number (primary key) for the selected row.  When the form is submit, my next page presents the actual data entry flash form for that particular item by querying the database with the record number passed in from the previous form.
&lt;/i&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Mon, 18 Apr 2005 03:11:54 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=53B844AC-4E22-1671-525CBDB11768303F</guid>
				
			</item>
			
			<item>
				<title>CFCalendar next and previous buttons example</title>
				<link>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=53A5FE93-4E22-1671-5B83976771E62BDA</link>
				<description>
				
				This example was sent to me by Oliver Merk from Toronto. Oliver created this example to add next and previous years buttons that are linked to a calendar.

&lt;p&gt;&lt;code&gt;
&lt;cfsavecontent variable = &quot;yearBack&quot;&gt;
       &lt;cfoutput&gt;
               theCal.displayedYear = theCal.displayedYear - 1;
               YearMinus.label = &quot;&lt; &quot; + String(theCal.displayedYear - 1);
               YearPlus.label = String(theCal.displayedYear + 1) + &quot; &gt;&quot;;
       &lt;/cfoutput&gt;
&lt;/cfsavecontent&gt;

&lt;cfsavecontent variable = &quot;yearForward&quot;&gt;
       &lt;cfoutput&gt;
               theCal.displayedYear = theCal.displayedYear + 1;
               YearPlus.label = String(theCal.displayedYear + 1) + &quot; &gt;&quot;;
               YearMinus.label = &quot;&lt; &quot; + String(theCal.displayedYear - 1);
       &lt;/cfoutput&gt;
&lt;/cfsavecontent&gt;

&lt;cfsavecontent variable = &quot;updateNav&quot;&gt;
       &lt;cfoutput&gt;
               YearPlus.label = String(theCal.displayedYear + 1) + &quot; &gt;&quot;;
               YearMinus.label = &quot;&lt; &quot; + String(theCal.displayedYear - 1);
       &lt;/cfoutput&gt;
&lt;/cfsavecontent&gt;

&lt;cfparam name=&quot;FORM.theCal&quot; default=&quot;#dateFormat(now(), &apos;mm/dd/yyyy&apos;)#&quot;&gt;

&lt;cfform format=&quot;flash&quot; width=&quot;216&quot; height=&quot;300&quot;&gt;

       &lt;cfformgroup type=&quot;horizontal&quot; style=&quot;horizontalAlign: center;&quot;&gt;
               &lt;cfinput type=&quot;button&quot; name=&quot;YearMinus&quot; value=&quot;&lt; #year(FORM.theCal) - 1#&quot; onclick=&quot;{#VARIABLES.yearBack#}&quot;&gt;
               &lt;cfinput type=&quot;button&quot; name=&quot;YearPlus&quot; value=&quot;#year(FORM.theCal) + 1# &gt;&quot; onclick=&quot;{#VARIABLES.yearForward#}&quot;&gt;
       &lt;/cfformgroup&gt;
       &lt;cfformitem type=&quot;spacer&quot; height=&quot;-15&quot;&gt;&lt;/cfformitem&gt;
       &lt;cfformgroup type=&quot;horizontal&quot;&gt;
               &lt;cfcalendar mask=&quot;mm/dd/yyyy&quot; name=&quot;theCal&quot; selecteddate=&quot;#FORM.theCal#&quot; width=&quot;200&quot; onchange=&quot;{#updateNav#}&quot; &gt;
       &lt;/cfformgroup&gt;

       &lt;cfformgroup type=&quot;horizontal&quot; style=&quot;horizontalAlign: center;&quot;&gt;
               &lt;cfinput type=&quot;submit&quot; name=&quot;f1&quot; value=&quot;submit&quot;&gt;
       &lt;/cfformgroup&gt;
&lt;/cfform&gt;

&lt;!--- Dump the form if it has been submitted. ---&gt;
&lt;cfif isDefined(&quot;FORM.fieldnames&quot;)&gt;
       &lt;cfdump var=&quot;#FORM#&quot;&gt;
&lt;/cfif&gt;
&lt;/code&gt;&lt;/p&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Mon, 18 Apr 2005 02:51:00 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm?mode=entry&amp;entry=53A5FE93-4E22-1671-5B83976771E62BDA</guid>
				
			</item>
			
			<item>
				<title>One way to check password fields</title>
				<link>http://blog.mikenimer.com/index.cfm/2005/4/18/One-way-to-check-password-fields</link>
				<description>
				
				A common form element is the password and password confirm field.  Here is one way to check that these match in a flash form. This example will compare the two fields if they don&apos;t match it will show an alert popup, and then return &quot;false&quot; so the form won&apos;t continue to submit.

&lt;code&gt;
&lt;cfform format=&quot;Flash&quot; onSubmit=&quot;if( f1.text != f2.text ){ alert(&apos;passwords do not match&apos;); return false;}&quot;&gt;
   &lt;cfinput type=&quot;password&quot; name=&quot;f1&quot;&gt;
   &lt;cfinput type=&quot;password&quot; name=&quot;f2&quot;&gt;
   &lt;cfinput type=&quot;Submit&quot; name=&quot;btn&quot; value=&quot;save&quot;&gt;
&lt;/cfform&gt;
&lt;/code&gt; 
				</description>
				
				<category>CFForm</category>				
				
				<pubDate>Mon, 18 Apr 2005 02:48:00 -0400</pubDate>
				<guid>http://blog.mikenimer.com/index.cfm/2005/4/18/One-way-to-check-password-fields</guid>
				
			</item>
			</channel></rss>