There is automagic!  I needed to do $this->data instead of $this-
>set('data', $data);

l8r,
Brian

On Feb 15, 6:52 pm, lirc201 <[email protected]> wrote:
> I've developed a method for generating a $data array for a given model
> so that I can prefill various fields on an add() form.  My users will
> be using the add form often and I would like default values in there
> based on $data being pulled from a Settings model.  I've tested and
> $data[Model][parameter][value] works when <input ... value=$data[Model]
> [parameter][value]> but I'm looking for a more automatic method
> similar to populating an edit form.
>
> Thanks,
> Brian

-- 
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