<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Zendcasts Forum - ZC49 – Writing Composite Zend_Form Elements]]></title>
	<link rel="self" href="http://www.zendcasts.com/forum/feed/atom/topic/155/"/>
	<updated>2010-06-18T15:57:57Z</updated>
	<generator>PunBB</generator>
	<id>http://www.zendcasts.com/forum/topic/155/zc49-writing-composite-zendform-elements/</id>
		<entry>
			<title type="html"><![CDATA[Re: ZC49 – Writing Composite Zend_Form Elements]]></title>
			<link rel="alternate" href="http://www.zendcasts.com/forum/post/907/#p907"/>
			<content type="html"><![CDATA[<p>Hi Oliver, very good point! I missed that when I put together that helper.</p>]]></content>
			<author>
				<name><![CDATA[Jon Lebensold]]></name>
				<uri>http://www.zendcasts.com/forum/user/3/</uri>
			</author>
			<updated>2010-06-18T15:57:57Z</updated>
			<id>http://www.zendcasts.com/forum/post/907/#p907</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ZC49 – Writing Composite Zend_Form Elements]]></title>
			<link rel="alternate" href="http://www.zendcasts.com/forum/post/906/#p906"/>
			<content type="html"><![CDATA[<p>Hi Jon,</p><p>it looks like, the helper is only instantiated once. So if you use $this-&gt;html, to store the generated html-code, and append new html-code, every time a new element is added to the form, the new html-code will be appended to the previous. That is, what zaherg worte a few days before.</p><p>And btw: thank you, Jon, for your great zend tutorials!</p><p>Oliver</p>]]></content>
			<author>
				<name><![CDATA[Oliver]]></name>
				<uri>http://www.zendcasts.com/forum/user/240/</uri>
			</author>
			<updated>2010-06-18T06:26:46Z</updated>
			<id>http://www.zendcasts.com/forum/post/906/#p906</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ZC49 – Writing Composite Zend_Form Elements]]></title>
			<link rel="alternate" href="http://www.zendcasts.com/forum/post/852/#p852"/>
			<content type="html"><![CDATA[<p>hi :<br />i just want to put a note that you have not to use <br /></p><div class="codebox"><pre><code>$this-&gt;html</code></pre></div><p>in your code instead you will have to use the <br /></p><div class="codebox"><pre><code>$html </code></pre></div><p>.<br />other wise if you have 2 elements it will be rendered as 3 elements since that </p><div class="codebox"><pre><code>$this-&gt;html</code></pre></div><p> will not be reset for the next element ..</p><p>check my code since i have just made the changes ..<br /><a href="http://pastie.org/915510">http://pastie.org/915510</a></p><p>regards</p>]]></content>
			<author>
				<name><![CDATA[zaherg]]></name>
				<uri>http://www.zendcasts.com/forum/user/190/</uri>
			</author>
			<updated>2010-05-11T12:38:19Z</updated>
			<id>http://www.zendcasts.com/forum/post/852/#p852</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ZC49 – Writing Composite Zend_Form Elements]]></title>
			<link rel="alternate" href="http://www.zendcasts.com/forum/post/790/#p790"/>
			<content type="html"><![CDATA[<p>your most welcome ..<br />i hope that you can make a cast about how to create a composite form element other than text since its ( text elements ) already mentioned in other places.</p>]]></content>
			<author>
				<name><![CDATA[zaherg]]></name>
				<uri>http://www.zendcasts.com/forum/user/190/</uri>
			</author>
			<updated>2010-04-12T17:25:07Z</updated>
			<id>http://www.zendcasts.com/forum/post/790/#p790</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ZC49 – Writing Composite Zend_Form Elements]]></title>
			<link rel="alternate" href="http://www.zendcasts.com/forum/post/787/#p787"/>
			<content type="html"><![CDATA[<p>Hi Zeherg,</p><p>thanks for mentioning this!</p>]]></content>
			<author>
				<name><![CDATA[Jon Lebensold]]></name>
				<uri>http://www.zendcasts.com/forum/user/3/</uri>
			</author>
			<updated>2010-04-12T15:55:31Z</updated>
			<id>http://www.zendcasts.com/forum/post/787/#p787</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ZC49 – Writing Composite Zend_Form Elements]]></title>
			<link rel="alternate" href="http://www.zendcasts.com/forum/post/786/#p786"/>
			<content type="html"><![CDATA[<p>Hi:<br />here is my code and how i made a composite form element for the Date Of Birth</p><p><a href="http://pastie.org/915510">http://pastie.org/915510</a></p><p>the code my not be as good as you might think , but we are all learning something new everyday <img src="http://www.zendcasts.com/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>thanks</p>]]></content>
			<author>
				<name><![CDATA[zaherg]]></name>
				<uri>http://www.zendcasts.com/forum/user/190/</uri>
			</author>
			<updated>2010-04-12T12:15:38Z</updated>
			<id>http://www.zendcasts.com/forum/post/786/#p786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[ZC49 – Writing Composite Zend_Form Elements]]></title>
			<link rel="alternate" href="http://www.zendcasts.com/forum/post/715/#p715"/>
			<content type="html"><![CDATA[<p>This video should help you build your own composite Zend_Form element. We&#039;ll be building a phone element. The phone element will have 3 textboxes, one for geographic location, area code and local code. In the following videos will add a custom cell phone validator and some ajax validation. </p><p>Grab a <a href="http://zendcasts.googlecode.com/svn/trunk/zc49-composite-form-elements/zc49-composite-form-elements.zip">copy of the project</a> or <a href="http://code.google.com/p/zendcasts/source/browse/#svn/trunk/zc49-composite-form-elements">browse the repository</a>.</p>]]></content>
			<author>
				<name><![CDATA[Jon Lebensold]]></name>
				<uri>http://www.zendcasts.com/forum/user/3/</uri>
			</author>
			<updated>2010-03-11T04:14:21Z</updated>
			<id>http://www.zendcasts.com/forum/post/715/#p715</id>
		</entry>
</feed>
