Hi all,
may be it will be useful to add support of array values to CHtml::hiddenField .
Example implementation:
public static function hiddenField($name,$value='',$htmlOptions=array())
{
if (is_array($value)) {
$result = '';
foreach ($value as $key=>$val) {
$result .= self::inputField('hidden',"$name[$key]",$val,$htmlOptions);
}
return $result;
}
else {
return self::inputField('hidden',$name,$value,$htmlOptions);
}
}