<fieldset> name attribute not set on form xml
Joris Ceelen
Nieuw lid
Posts: 9
10 jaren 2 weken geleden - 10 jaren 2 weken geleden #506
door Joris Ceelen
<fieldset> name attribute not set on form xml werd gestart door 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">
Laatst bewerkt 10 jaren 2 weken geleden door Joris Ceelen.
Gelieve Inloggen of een account aanmaken om deel te nemen aan het gesprek.
Tijd voor maken pagina: 0.093 seconden