<?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: Zend Framework Brasil! Crescendo mais e mais!</title>
	<atom:link href="http://felipetonello.com/blog/2008/04/11/zend-framework-brasil-crescendo-mais-e-mais/feed/" rel="self" type="application/rss+xml" />
	<link>http://felipetonello.com/blog/2008/04/11/zend-framework-brasil-crescendo-mais-e-mais/</link>
	<description>Compartilhe, ajude e cresça</description>
	<lastBuildDate>Sat, 06 Mar 2010 03:26:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sandro</title>
		<link>http://felipetonello.com/blog/2008/04/11/zend-framework-brasil-crescendo-mais-e-mais/comment-page-1/#comment-14772</link>
		<dc:creator>Sandro</dc:creator>
		<pubDate>Wed, 02 Sep 2009 17:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://felipetonello.com/blog/?p=125#comment-14772</guid>
		<description>Tirar class do label
Oi pessoal, estou com um problema.
Quero usar o jquery p/ validar meu formulário só que não pode ter o class no label.

meu código está assim:

$form = new Zend_Form();

$action = $form-&gt;addAttribs(array(
&#039;enctype&#039; =&gt; &#039;multipart/form-data&#039;,
&#039;method&#039; =&gt; &#039;post&#039;,
&#039;action&#039; =&gt; $this-&gt;baseUrl . &#039;/parceiro/create&#039;,
&#039;class&#039; =&gt; &#039;form_zend&#039;));

$nome = $form-&gt;addElement(&#039;text&#039;, &#039;parceiro_nome&#039;, array(
&#039;filters&#039; =&gt; array(&#039;StringTrim&#039;),
&#039;required&#039; =&gt; true,
&#039;size&#039; =&gt; &#039;50&#039;,
&#039;req&#039; =&gt; true,
&#039;label&#039; =&gt; &#039;Nome&#039;,
&#039;maxlength&#039; =&gt; &#039;60&#039;,
&#039;class&#039; =&gt; &#039;validate[required,custom[onlyLetter],length[0,40]] text-input&#039;,
&#039;validator&#039; =&gt; &#039;NotEmpty&#039;,
));


E o resultado é esse:



Nome






GOSTARIA DE TIRAR AQUELE CLASS NO LABEL (EM NEGRITO)
ALGUEM SABE COMO?</description>
		<content:encoded><![CDATA[<p>Tirar class do label<br />
Oi pessoal, estou com um problema.<br />
Quero usar o jquery p/ validar meu formulário só que não pode ter o class no label.</p>
<p>meu código está assim:</p>
<p>$form = new Zend_Form();</p>
<p>$action = $form-&gt;addAttribs(array(<br />
&#8216;enctype&#8217; =&gt; &#8216;multipart/form-data&#8217;,<br />
&#8216;method&#8217; =&gt; &#8216;post&#8217;,<br />
&#8216;action&#8217; =&gt; $this-&gt;baseUrl . &#8216;/parceiro/create&#8217;,<br />
&#8216;class&#8217; =&gt; &#8216;form_zend&#8217;));</p>
<p>$nome = $form-&gt;addElement(&#8216;text&#8217;, &#8216;parceiro_nome&#8217;, array(<br />
&#8216;filters&#8217; =&gt; array(&#8216;StringTrim&#8217;),<br />
&#8216;required&#8217; =&gt; true,<br />
&#8217;size&#8217; =&gt; &#8216;50&#8242;,<br />
&#8216;req&#8217; =&gt; true,<br />
&#8216;label&#8217; =&gt; &#8216;Nome&#8217;,<br />
&#8216;maxlength&#8217; =&gt; &#8216;60&#8242;,<br />
&#8216;class&#8217; =&gt; &#8216;validate[required,custom[onlyLetter],length[0,40]] text-input&#8217;,<br />
&#8216;validator&#8217; =&gt; &#8216;NotEmpty&#8217;,<br />
));</p>
<p>E o resultado é esse:</p>
<p>Nome</p>
<p>GOSTARIA DE TIRAR AQUELE CLASS NO LABEL (EM NEGRITO)<br />
ALGUEM SABE COMO?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
