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