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('&nbsp'); 

but in screen displaying

enter image description here

output: required display second radio button bellow first radio button.

try replace

   ->setseparator('&nbsp'); 

by

   ->setseparator('<br>'); 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -