<?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: Dynamically Adding Elements to Zend_Form</title>
	<atom:link href="http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/</link>
	<description>{web developer, entrepreneur }</description>
	<lastBuildDate>Thu, 05 Jan 2012 07:01:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: empresa de reformas en Barcelona</title>
		<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/comment-page-1/#comment-648</link>
		<dc:creator>empresa de reformas en Barcelona</dc:creator>
		<pubDate>Thu, 05 Jan 2012 07:01:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeremykendall.net/?p=154#comment-648</guid>
		<description>Amazing things here. I am very happy to peer your article. Thank you a lot and I am taking a look ahead to touch you. Will you kindly drop me a e-mail?</description>
		<content:encoded><![CDATA[<p>Amazing things here. I am very happy to peer your article. Thank you a lot and I am taking a look ahead to touch you. Will you kindly drop me a e-mail?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuele</title>
		<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/comment-page-1/#comment-642</link>
		<dc:creator>Samuele</dc:creator>
		<pubDate>Thu, 10 Nov 2011 01:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeremykendall.net/?p=154#comment-642</guid>
		<description>Hi I need to do the same thing but adding a SubForm via Ajax...   How can I do it?
I tried but I&#039;m not able to do it...
http://stackoverflow.com/questions/8069046/zend-framework-add-subform-to-a-form-in-ajax-on-submit
thanks again...
Samuele</description>
		<content:encoded><![CDATA[<p>Hi I need to do the same thing but adding a SubForm via Ajax&#8230;   How can I do it?<br />
I tried but I&#8217;m not able to do it&#8230;<br />
<a href="http://stackoverflow.com/questions/8069046/zend-framework-add-subform-to-a-form-in-ajax-on-submit" rel="nofollow">http://stackoverflow.com/questions/8069046/zend-framework-add-subform-to-a-form-in-ajax-on-submit</a><br />
thanks again&#8230;<br />
Samuele</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ulisses Vaquero</title>
		<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/comment-page-1/#comment-640</link>
		<dc:creator>Ulisses Vaquero</dc:creator>
		<pubDate>Fri, 14 Oct 2011 16:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeremykendall.net/?p=154#comment-640</guid>
		<description>Great Job Man...
Thanks. 
But i changed your function for get all created element by JS.
See this:
 $arrElementos = $this-&gt;getElementsName();
 $criarCampos = array_diff(array_keys($data), $arrElementos) ;
Thnks</description>
		<content:encoded><![CDATA[<p>Great Job Man&#8230;<br />
Thanks.<br />
But i changed your function for get all created element by JS.<br />
See this:<br />
 $arrElementos = $this-&gt;getElementsName();<br />
 $criarCampos = array_diff(array_keys($data), $arrElementos) ;<br />
Thnks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: buggy</title>
		<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/comment-page-1/#comment-638</link>
		<dc:creator>buggy</dc:creator>
		<pubDate>Thu, 08 Sep 2011 02:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeremykendall.net/?p=154#comment-638</guid>
		<description>Hi,

Need help for two different dynamic fields.

Pls let me know how could I solve this.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Need help for two different dynamic fields.</p>
<p>Pls let me know how could I solve this.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/comment-page-1/#comment-628</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 16 Jul 2011 19:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeremykendall.net/?p=154#comment-628</guid>
		<description>Hi Jeremy, thanks for the post. I have two questions. 

Is the Ajax step necessary? Wouldn&#039;t it be more efficient to use JavaScript (jQuery) to build the new fields rather than sending an HTTP request to the server?

Your article was posted over two years- have you found any better ways of doing this in newer versions of ZF?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Jeremy, thanks for the post. I have two questions. </p>
<p>Is the Ajax step necessary? Wouldn&#8217;t it be more efficient to use JavaScript (jQuery) to build the new fields rather than sending an HTTP request to the server?</p>
<p>Your article was posted over two years- have you found any better ways of doing this in newer versions of ZF?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacco</title>
		<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/comment-page-1/#comment-622</link>
		<dc:creator>Jacco</dc:creator>
		<pubDate>Fri, 06 May 2011 11:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeremykendall.net/?p=154#comment-622</guid>
		<description>Thanks for this great explanation! This example really helped me create a form with dynamic sub-forms!

You could let the newfieldAction() in your example use a public method of the Form class to create the elements. Which you can also use in your preValidation() and init() methods. This way you only have to define them once.</description>
		<content:encoded><![CDATA[<p>Thanks for this great explanation! This example really helped me create a form with dynamic sub-forms!</p>
<p>You could let the newfieldAction() in your example use a public method of the Form class to create the elements. Which you can also use in your preValidation() and init() methods. This way you only have to define them once.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raffael</title>
		<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/comment-page-1/#comment-605</link>
		<dc:creator>Raffael</dc:creator>
		<pubDate>Tue, 02 Nov 2010 14:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeremykendall.net/?p=154#comment-605</guid>
		<description>One other small thing I would change.

Instead of using the $_POST array directly I would use this method:

$request-&gt;getPost()</description>
		<content:encoded><![CDATA[<p>One other small thing I would change.</p>
<p>Instead of using the $_POST array directly I would use this method:</p>
<p>$request-&gt;getPost()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicklas</title>
		<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/comment-page-1/#comment-600</link>
		<dc:creator>Nicklas</dc:creator>
		<pubDate>Mon, 30 Aug 2010 18:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeremykendall.net/?p=154#comment-600</guid>
		<description>Is there any easy way to start out with more then one field-set as default? I mean I want it to start on 10 fields and then be able to add more.</description>
		<content:encoded><![CDATA[<p>Is there any easy way to start out with more then one field-set as default? I mean I want it to start on 10 fields and then be able to add more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laura</title>
		<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/comment-page-1/#comment-599</link>
		<dc:creator>Laura</dc:creator>
		<pubDate>Thu, 26 Aug 2010 09:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeremykendall.net/?p=154#comment-599</guid>
		<description>Found out what the problem was. I forgot the ! in if(!$this-&gt;_request-&gt;isPost()) {
    $this-&gt;view-&gt;form = $form;
    return;}
Thank you for the post.</description>
		<content:encoded><![CDATA[<p>Found out what the problem was. I forgot the ! in if(!$this-&gt;_request-&gt;isPost()) {<br />
    $this-&gt;view-&gt;form = $form;<br />
    return;}<br />
Thank you for the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laura</title>
		<link>http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/comment-page-1/#comment-598</link>
		<dc:creator>Laura</dc:creator>
		<pubDate>Thu, 26 Aug 2010 08:48:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeremykendall.net/?p=154#comment-598</guid>
		<description>Hi, I&#039;m new to Zend and i&#039;m having a problem with this project. When i click submit the dynamic form elements added disappear. Can anyone tell me what I&#039;m doing wrong? 

Thank you</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m new to Zend and i&#8217;m having a problem with this project. When i click submit the dynamic form elements added disappear. Can anyone tell me what I&#8217;m doing wrong? </p>
<p>Thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>

