echo $this->Form->input('situaction', array(
                        'before' => '<label>' . __('situaction', true),
                        'between' => '</label>',
                        'label' => false,
                        'legend' => false,
                        'separator' => '&nbsp;',
                        'options' => array('1'=> __('Available', true), '2 '=>
__('Unavailable',true)),
                        'value' => $this->data['Product']['situactio'],
                        'type' => 'radio'
                        )
                );
this works for me... hth to you... Claudio Baima


On 5 maio, 14:02, cougarman <[email protected]> wrote:
> I have a large group of checkboxes.  When the page loads, I need each
> checkbox with a "value" that is contained in a certain array of
> numbers to be checked.  Is this possible?  It seems that $_POST will
> not work to put the values of all my checkboxes in an array, because
> $_POST will only return values of checkboxes that are already checked.
>
> Many thanks,
>
> C

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to