On Feb 16, 6:36 pm, FranktheTank <[email protected]> wrote:
> OK, I'll admit my noobishness - can you add any HTML attribute to the
> options array, and cake just adds it to the tag?  For instance, if you
> add 'width' => '50' it will set width="50" in the input tag?

All of the options FormHelper's input method uses are listed in the
manual here: http://book.cakephp.org/view/189/Automagic-Form-Elements

I'm not sure what you mean by 'width.' If you mean maxLength (limits
the maximum number of characters), that option is available. If you
mean the physical width of the form element, that should be done with
CSS.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to