Comments on: Zend Framework Brasil! Crescendo mais e mais! http://felipetonello.com/blog/2008/04/11/zend-framework-brasil-crescendo-mais-e-mais/ Compartilhe, ajude e cresça Wed, 20 Jul 2011 23:54:06 +0000 hourly 1 http://wordpress.org/?v=3.2.1 By: Sandro http://felipetonello.com/blog/2008/04/11/zend-framework-brasil-crescendo-mais-e-mais/comment-page-1/#comment-14772 Sandro Wed, 02 Sep 2009 17:50:13 +0000 http://felipetonello.com/blog/?p=125#comment-14772 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->addAttribs(array( 'enctype' => 'multipart/form-data', 'method' => 'post', 'action' => $this->baseUrl . '/parceiro/create', 'class' => 'form_zend')); $nome = $form->addElement('text', 'parceiro_nome', array( 'filters' => array('StringTrim'), 'required' => true, 'size' => '50', 'req' => true, 'label' => 'Nome', 'maxlength' => '60', 'class' => 'validate[required,custom[onlyLetter],length[0,40]] text-input', 'validator' => 'NotEmpty', )); E o resultado é esse: Nome GOSTARIA DE TIRAR AQUELE CLASS NO LABEL (EM NEGRITO) ALGUEM SABE COMO? 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->addAttribs(array(
'enctype' => 'multipart/form-data',
'method' => 'post',
'action' => $this->baseUrl . '/parceiro/create',
'class' => 'form_zend'));

$nome = $form->addElement('text', 'parceiro_nome', array(
'filters' => array('StringTrim'),
'required' => true,
'size' => '50',
'req' => true,
'label' => 'Nome',
'maxlength' => '60',
'class' => 'validate[required,custom[onlyLetter],length[0,40]] text-input',
'validator' => 'NotEmpty',
));

E o resultado é esse:

Nome

GOSTARIA DE TIRAR AQUELE CLASS NO LABEL (EM NEGRITO)
ALGUEM SABE COMO?

]]>