rombeh wrote:
> how about $html->radio?
> how to make one of options checked by default?
Just set the value in the controller:
$this->data['Modelname']['radiofield'] = 'myvalue';
'myvalue' should be one of the values in the array:
<?=$html->radio('Modelname/status', array('myvalue'=>'Radio Label',
'myothervalue'=>'Other Label'), '<br>' );?>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---