I tried out the inputDefaults key, and that gets me halfway there.
What I still don't get is how to specify the id I want.  How can I
tell form helper to use the model and field name as part of the div
id?  Also I am on 1.3.  This is simplified, but something like:

'inputDefaults' => array(
            'div' => array('id' => $Model . $Field . 'Div'),
            'type'  => 'text'
        )


On Dec 22 2011, 4:53 pm, Geoff Douglas <[email protected]> wrote:
> If you are using greater than 1.3, check this out  
> http://book.cakephp.org/view/1616/x1-3-improvements
>
> The form helper create() method, now has a inputDefaults array key... that
> will do what you want. I believe.

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