Zend Framework 2 - change annotationbuilder form


July 07, 2014 at 08:18
Zend Framework

After creating a form with annotationbuilder I wanted to hide certain elements. THats how it works:
$form->getElements()['thefieldname']->setAttribute('type', 'hidden');

Tags: ZF2


Hinterlasse einen Kommentar:
Search