Comment je peux donner une valeur à $field->input ?
merci
Code:
<?php foreach ($this->form->getFieldsets() as $fieldset): ?> <fieldset> <?php foreach ($this->form->getFieldset($fieldset->name) as $name => $field): ?> <span class="lbl"><?php echo $field->label; ?></span> <span class="ipt"><?php echo $field->input; ?></span><br class="clear" /> <?php endforeach; ?> </fieldset> <?php endforeach; ?>