erm, sorry, I meant :

echo $form->input('Foo.bar', array('type' => 'text', 'size' => 10));

On Feb 22, 11:12 am, grigri <[EMAIL PROTECTED]> wrote:
> dude...
>
> echo $form->input('Foo.bar', array('type' => 'text', 'length' => 10));
>
> ...not exactly rocket science
>
> [note that the default cake css defines all text inputs as having
> width 100%, so if you don't change that then the physical width of the
> textbox will not depend on the size attribute]
>
> On Feb 22, 11:01 am, "Doug @ Straw Dogs" <[EMAIL PROTECTED]>
> wrote:
>
> > I'm a bit suprised to find that the input method of the form helper
> > doesn't have a size attribute.
>
> > Am I missing it or do I need to hack it in myself?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to