FormHelper::input() is a wrapper method that automatically generates
extra output, i.e. error messages, wrapper 's and labels. If
you want just the form element and *not* the extra stuff, you're
better off using the specific method that you want, i.e. $form-
>text( ) or $form->select( ).
On Mar
.
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Adrian Maier
Enviado el: Martes, 27 de Marzo de 2007 08:43 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: HtmlHelper->input vs FormHelper->
On 27 mar, 13:43, "Adrian Maier" <[EMAIL PROTECTED]> wrote:
> On 3/27/07, djiize <[EMAIL PROTECTED]> wrote:
>
> > Hello
>
> > Html helper is the old way, and Form helper the ne cutting-edge one
> > (and I like it a lot ;))
>
> > To get rid of div and label, you can write
> > $this->input('tagname'
On 3/27/07, djiize <[EMAIL PROTECTED]> wrote:
>
> Hello
>
> Html helper is the old way, and Form helper the ne cutting-edge one
> (and I like it a lot ;))
>
> To get rid of div and label, you can write
> $this->input('tagname', array('div' => false, 'label' => false));
Thanks for sharing this inf
Hello
Html helper is the old way, and Form helper the ne cutting-edge one
(and I like it a lot ;))
To get rid of div and label, you can write
$this->input('tagname', array('div' => false, 'label' => false));
If you plan to use Cake 1.2, I don't think it's a good idea to
continue with html helpe
Hello,
I am a little confused about about why both HtmlHelper and FormHelper
have an input() method.
It looks like the
I am reluctant to use the HtmlHelper because :
- i saw in the archives that the plan is to deprecate the common methods
in favour of FormHelper
- (if i remember correctly) i've