[Solar-talk] form element disable
Paul M Jones
pmjones at solarphp.com
Wed May 24 14:43:11 PDT 2006
Hi Jeff,
> I am trying to set the form "disable" to make it read only for a
> particular
> element in the $info array of my view script like so:
...
> Am I using this flag incorrectly?
>
> Looking at Solar_Form it is specified
>
> * : \\disable\\ : (bool) If disabled, the element is read-only
> * (but is still submitted with other elements).
>
> So it should work, what am I missing?
You are not missing anything; Solar_View_Helper_Form and the related
FormElement helpers are missing support for 'disabled'. I'll add
this after the next release. Sorry for the confusion.
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list