Yii Framework Forum: [Resolvido] Campo Invisível, Mostra Label - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Resolvido] Campo Invisível, Mostra Label Rate Topic: -----

#1 User is offline   Jjunior 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 37
  • Joined: 07-November 12

Posted 05 March 2013 - 12:23 PM

Boa tarde

Tenho o seguinte campo:
echo $form->textFieldRow($itensPgto,'idsysos',array('maxlength'=>80,'style'=>'width: 200px; visibility:hidden;'));


Mesmo ele estando invisível o Label dele aparece. Como colocar o label invisível?
0

#2 User is offline   thiago.silva 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 94
  • Joined: 13-February 13

Posted 05 March 2013 - 02:17 PM

View PostJjunior, on 05 March 2013 - 12:23 PM, said:

Boa tarde

Tenho o seguinte campo:
echo $form->textFieldRow($itensPgto,'idsysos',array('maxlength'=>80,'style'=>'width: 200px; visibility:hidden;'));


Mesmo ele estando invisível o Label dele aparece. Como colocar o label invisível?

Também sou iniciante ^^, mas qual widget você está usando?
talvez isto funcione:
echo $form->textFieldRow($itensPgto,'idsysos',array('labelOptions'=>array('label'=>false),'maxlength'=>80,'style'=>'width: 200px; visibility:hidden;'));

0

#3 User is offline   Jjunior 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 37
  • Joined: 07-November 12

Posted 05 March 2013 - 02:23 PM

View Postthiago.silva, on 05 March 2013 - 02:17 PM, said:

Também sou iniciante ^^, mas qual widget você está usando?


'bootstrap.widgets.TbActiveForm


Funcionou, obrigado
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users