<fieldset> name attribute not set on form xml
Joris Ceelen
New Member
Posts: 9
10 anos 2 semanas atrás - 10 anos 2 semanas atrás #506
por Joris Ceelen
<fieldset> name attribute not set on form xml foi criado por Joris Ceelen
Hello
I think that when the:
<fieldset> name attribute is not set on the generated form xml of the model,
the following code does not work in a tmpl file::because:orreturns nothing
I suppose you can the name attribute to "default" when generating the form XML for the componentThanks, Joris
I think that when the:
<fieldset> name attribute is not set on the generated form xml of the model,
the following code does not work in a tmpl file::
$fields=$this->form->getFieldset() ;
foreach ($fields as $field) {
$this->form->setFieldAttribute($field->fieldname, 'readonly', 'true');
}
$fields=$this->form->getFieldset() ;
$fields=$this->form->getFieldsets() ;
I suppose you can the name attribute to "default" when generating the form XML for the component
<fieldset name="default">
Ultima edição: 10 anos 2 semanas atrás por Joris Ceelen.
Por favor Acessar ou Registrar para participar da conversa.
Tempo para a criação da página:0.047 segundos