Set 'disabled' option to true (or 1).
<?php echo $form->input('Model.field_name', array('disabled' =>
true)); ?>
On Jan 9, 12:01 pm, TC <[email protected]> wrote:
> how can i create a disabled input box using formhelper?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---