<?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: New demo for dynamic form fields</title>
	<atom:link href="http://blog.cbolson.com/new-demo-for-dynamic-form-fields/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cbolson.com/new-demo-for-dynamic-form-fields/</link>
	<description>blog : my thoughts, scripts, events and comments....</description>
	<lastBuildDate>Sat, 21 Jan 2012 11:09:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Chris</title>
		<link>http://blog.cbolson.com/new-demo-for-dynamic-form-fields/comment-page-1/#comment-144</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 17 Feb 2010 17:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cbolson.com/?p=160#comment-144</guid>
		<description>Yes, it basically just consists  of form elements.
I have copied my php file (well, part of it) as a txt file so that you can see what I have done:
http://www.cbolson.com/sandbox/mootools/dynamic-form-insert/load.ajax.php.txt

I have used a switch to define which fields to show.
Note - in the original version of this code that I did for a client project, this php file actually gets data from the database to create select lists etc.  This is where I think that the idea gets really interesing ;)

Chris</description>
		<content:encoded><![CDATA[<p>Yes, it basically just consists  of form elements.<br />
I have copied my php file (well, part of it) as a txt file so that you can see what I have done:<br />
<a href="http://www.cbolson.com/sandbox/mootools/dynamic-form-insert/load.ajax.php.txt" rel="nofollow">http://www.cbolson.com/sandbox/mootools/dynamic-form-insert/load.ajax.php.txt</a></p>
<p>I have used a switch to define which fields to show.<br />
Note &#8211; in the original version of this code that I did for a client project, this php file actually gets data from the database to create select lists etc.  This is where I think that the idea gets really interesing <img src='http://blog.cbolson.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Smith</title>
		<link>http://blog.cbolson.com/new-demo-for-dynamic-form-fields/comment-page-1/#comment-143</link>
		<dc:creator>Craig Smith</dc:creator>
		<pubDate>Wed, 17 Feb 2010 17:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cbolson.com/?p=160#comment-143</guid>
		<description>Thanks i did this before i not sure how to setup the file that is loaded in?  Should this be a php file with any form i like in it?</description>
		<content:encoded><![CDATA[<p>Thanks i did this before i not sure how to setup the file that is loaded in?  Should this be a php file with any form i like in it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.cbolson.com/new-demo-for-dynamic-form-fields/comment-page-1/#comment-142</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 17 Feb 2010 11:25:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cbolson.com/?p=160#comment-142</guid>
		<description>Hi,
Just take a look at the source code and specifically the js code (dynamic-form.js).  In there you will see the javascript code that calls the php ajax file to add the form elements.
That php form, in it&#039;s simplest state, simply prints out the form field type as requested by the javsascript.

Chris

Reminder to me - convert this code into a Mootools Class and return form fields as json data.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Just take a look at the source code and specifically the js code (dynamic-form.js).  In there you will see the javascript code that calls the php ajax file to add the form elements.<br />
That php form, in it&#8217;s simplest state, simply prints out the form field type as requested by the javsascript.</p>
<p>Chris</p>
<p>Reminder to me &#8211; convert this code into a Mootools Class and return form fields as json data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://blog.cbolson.com/new-demo-for-dynamic-form-fields/comment-page-1/#comment-141</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Wed, 17 Feb 2010 11:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cbolson.com/?p=160#comment-141</guid>
		<description>Hi I would love to use this version of the dunamic form but not sure where the code is for this new demo??</description>
		<content:encoded><![CDATA[<p>Hi I would love to use this version of the dunamic form but not sure where the code is for this new demo??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.cbolson.com/new-demo-for-dynamic-form-fields/comment-page-1/#comment-56</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 18 Sep 2009 18:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cbolson.com/?p=160#comment-56</guid>
		<description>Thanks Fabio :)
Still wondering how/when to make the mootools part into a class - I&#039;ll get round to it some day.</description>
		<content:encoded><![CDATA[<p>Thanks Fabio <img src='http://blog.cbolson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Still wondering how/when to make the mootools part into a class &#8211; I&#8217;ll get round to it some day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabio M. Costa</title>
		<link>http://blog.cbolson.com/new-demo-for-dynamic-form-fields/comment-page-1/#comment-55</link>
		<dc:creator>Fabio M. Costa</dc:creator>
		<pubDate>Fri, 18 Sep 2009 17:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cbolson.com/?p=160#comment-55</guid>
		<description>wow, impressive, really. I liked how you structured your form.</description>
		<content:encoded><![CDATA[<p>wow, impressive, really. I liked how you structured your form.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

