<p><?php echo $this->Form->input('field', array('div' => false)); ?></ p>
or: <?php echo $this->Form->input('field', array('div' => false, 'before' => '<p>', 'after' => '</p>')); ?> On 10 Lip, 08:48, "matzeh...@googlemail.com" <matzeh...@googlemail.com> wrote: > Hi, > > with the option 'div'=>false you can disable the surrounding div > Container. > But adding a p with the form helper.. hm.. > > On 10 Jul., 01:27, saidbakr <said....@gmail.com> wrote: > > > > > Hi > > > How could I Wrapping forms Elements inside p tag instead of div tag? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en