<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 06:43:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ian Christian's Blog: Embedded forms using Javascript with sfForm]]></title>
      <guid>http://www.phpdeveloper.org/news/13532</guid>
      <link>http://www.phpdeveloper.org/news/13532</link>
      <description><![CDATA[<p>
In <a href="http://pookey.co.uk/blog/archives/89-Embedded-forms-using-Javascript-with-sfForm.html">this recent post</a> to his blog <i>Ian Christian</i> looks at how to use the <a href="http://www.symfony-project.org/forms/1_1/en/">sfForm</a> component of the Symfony framework to create dynamic sub-forms without a refresh to build it.
</p>
<blockquote>
wanted to create a form that allowed me to dynamically add sub-forms via JS, without round-trips to the server. I had a bit of a google, but failed to find much of use - so I wrote my own. This article contains my code for a proof of concept, and a brief description of what it does. It is proof of concept, and done as an example, so code isn't done perhaps as I might do in a real configuration, but I hope it provides help to others. 
</blockquote>
<p>
His <a href="http://pookey.co.uk/blog/uploads/embeddedform.gif">end result</a> lets you dynamically load in new form elements via some jQuery trickery. Complete code for the Javascript, view, form and the YAML markup for the model are included. 
</p>]]></description>
      <pubDate>Fri, 13 Nov 2009 10:03:37 -0600</pubDate>
    </item>
  </channel>
</rss>
