I usually use the textarea() method myself. And, if you read the
record into $this->data you should be able to do:

echo $form->textarea('Bio.bio', array('label' => 'Band Bio', 'rows' =>
'10', 'columns' => '40'));

That's if the model is called, "Bio". I don't know if that was a typo
on your part.

On Mon, Jun 15, 2009 at 1:49 PM, gbd<[email protected]> wrote:
>
> Hey,
>
> I can't figure out why my 'value' is not appearing as the default in
> my Band Bio field:
>
> <?php echo $form->input('Bio.bio',array('label'=>'Band Bio'),array
> ('type'=>'textarea'),array('value'=>$option['Bio']['bio']));?></p>
>
> Any ideas?
>
> If I do the following <?php echo $option['Bio']['bio'] ;?> the data
> displays correctly.
>
> Thanks
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to