Hello everyone!
Could you explain me how can I do customize location a label of an input object in the Form Builder, so that the label would display in front of the input object? [label]-[obj]
if it’s possible…
Here is my code where I want to do it:
'elements'=>array(
'yearFrom'=>array(
'id'=>'yearFrom',
'type'=>'dropdownlist',
'length'=>100,
'maxlength'=>32,
'label' => 'Year:',
'items' => OModel::model()->getYearOption(),
'ajax' => array(
'type' => 'POST',
'url' => CController::createUrl('/order/brand'),
'data' => array('year' => 'js:$(this).val()'),
'update'=>'#brand'
)
),
...
Thanks!