It is, just pass array('disabled' => "disabled") as the options array.
2007/11/30, Brian <[EMAIL PROTECTED]>:
>
> I understand how to do readonly with straight HTML and this should be
> a simple and easy thing to do within Cake. Is it not?
> Brian
>
> On Nov 30, 12:48 pm, Brian <[EMAIL PROTECTED]> wrote:
> > I just noticed that none of the parameters being passed in the array
> > are being used? What would cause that?
> >
> > On Nov 30, 12:44 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > On Nov 30, 2007 1:29 PM, Brian <[EMAIL PROTECTED]> wrote:
> >
> > > > this doesn't work either:
> >
> > > > <?php echo $html->inputTag('Employee/start_date', array('size' => '4
> > > > 0', 'disabled' => true)) ?>
> >
> > > Have you thought about using a hidden field and simply displaying the
> > > data?
> >
> > > --
> > > Chris Hartjes
> >
> > > My motto for 2007: "Just build it, damnit!"
> >
> > > @TheKeyboard -http://www.littlehart.net/atthekeyboard- 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
-~----------~----~----~----~------~----~------~--~---