php - How to display radio Buttons one after the other in zend dojo form? -
i working in zend framework application.
while coding small screen have been facing problem bellow.
the radio button bellow in zend dojo form:
$emailradio = new zend_form_element_radio('emailradio') ->removedecorator("dtddwrapper") ->removedecorator("label") ->removedecorator('htmltag') ->addmultioptions(array('0' => 'send emails after student submit', '1' => 'send emails after chronepull')) ->setattrib('dojotype',"dijit.form.radiobutton") ->setvalue('0') ->setseparator(' ');
but in screen displaying
output: required display second radio button bellow first radio button.
try replace
->setseparator(' ');
by
->setseparator('<br>');
Comments
Post a Comment