
Thanks Ronnie, for the example! It looks like this useful hint won’t appear in the cakephp documentation any time soon. I think is’t “nerdnoteworthy”:
echo $html->radio(
'User/admin',
array(
'no' => 'No',
'yes' => 'Yes'),
null,
array('value' => 'no')
);
thank u
Wow, way to use an example months old from an almost year old ticket posted for a version of cake that is out of date and no longer intended for use.
A 1.2 example is:
echo $form->input( 'User.admin',
'type' => 'radio',
'options' => array( 'Yes'=>'yes', 'No'=>'no' )
));
Er, Abba, did you check the date on this post. No. You didn’t. Did you.
I think he didn’t. Did he?
No he didn’t. Did he?
I don’t know. Did he?
He didn’t. Did I?
u guys are funny…and yes, he didn’t check the date. so do I, did you ?