Zend Dojo Form Input Size + Solution
Jun 9, 2009 · 1 minute readCategory: zend framework
This is post is now quite old and the the information it contains may be out of date or innacurate.
If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub
Solution: To set the width on dojo form elements you must use the width css operator. eg
$form->getElement('blah')->setAttrib('style'=>'width: 50em;');
So simple once you know how!