hi,
i currently have this:
$this->widget('zii.widgets.jui.CJuiSliderInput', array(
'model'=>$model,
'name'=>'amount',
'value'=>$model->amount,
// additional javascript options for the slider plugin
'options'=>array(
'animate'=>true,
'min'=>AddfundsForm::$_Options['min'],
'max'=>AddfundsForm::$_Options['max'],
'change' => 'js:function( event, ui ) {
updateValues(ui.value);
} ',
),
'htmlOptions'=>array(
'style'=>'margin-top:8px;'
),
));
?>
and it will print this to html:
<input style="margin-top:8px;" id="amount" type="hidden" value="10" name="amount" />
but i need it to generate same code with that difference:
<input style="margin-top:8px;" id="AddfundsForm_amount" type="hidden" value="10" name="AddfundsForm[amount]" />
so any way to do it using widget or i must use manualy javascript with a activeHiddenField?
thanks