Use size in the options array,
This is an example for input type text:
$form->input('Model.field', array('type'=>'text','size' => '50',
'maxlength'=>'255'));

On Feb 22, 6: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 [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