Oh -- I understand now.
What version of cake are you using?
I'm using the latest nightly build of 1.2, and I do this to create an
input field with a surrounding div.
$form->input('Config/config', array('value' => $config['config'],
'label' => false, 'div' => 'required'));
or 'div' => false if you want your own div, or want to group a bunch of
stuff together (like hidden input fields) into the same div.
I hope this helps in some way.
D
On Jan 23, 4:22 pm, "Sankaman2k" <[EMAIL PROTECTED]> wrote:
> Thanks, I've tried that, but the ID gets assigned to the input field
> and not the surrounding DIV.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---