this doesn't work either:

 <?php echo $html->inputTag('Employee/start_date', array('size' => '4
0', 'disabled' => true)) ?>

On Nov 30, 11:39 am, "Christopher E. Franklin, Sr."
<[EMAIL PROTECTED]> wrote:
> 'disabled' => true (without the single quotes)
>
> On Nov 30, 9:30 am, Brian <[EMAIL PROTECTED]> wrote:
>
>
>
> > How do I get an input field to be readonly?
>
> > I have tried
> >  <?php echo $html->inputTag('Employee/start_date', array('size' => '4
> > 0', 'READONLY' => 'readonly')) ?>
> > and
> >  <?php echo $html->inputTag('Employee/start_date', array('size' => '4
> > 0', 'disabled' => 'true')) ?>- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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