Hi, I've searched the forums and all over google for this, but I can't seem to get my form to display how I would like.
What I am trying to do is put two Zend_Form_Element_Select elements on the same line, instead they appear on separate lines.
I have tried:
PHP Code:
$options = array('R' => 'red', 'g' => 'green', 'b' => 'blue');
$colors = new Zend_Form_Element_Select('colors');
$colors->setRequired(true)
->setValue('R')
->setOptions(array('separator' => ''))
->setMultiOptions($options);
$colors2 = new Zend_Form_Element_Select('colors2');
$colors2->setRequired(true)
->setValue('g')
->setOptions(array('separator' => ''))
->setMultiOptions($options);
$this->addElement($colors);
$this->addElement($colors2);
but still they show up on separate lines (however it works properly if you use Radio instead of Select).
Can anyone help me?
Thanks