[development] Making #access required on forms

Earl Dunovant prometheus6 at gmail.com
Sat Oct 25 07:33:35 UTC 2008


I'd change #type to 'value' and #value to #default_value. It's not as
automatic as using #access

On Sat, Oct 25, 2008 at 1:12 AM, Larry Garfield <larry at garfieldtech.com>wrote:

> On Friday 24 October 2008 11:38:31 pm Darrel O'Pry wrote:
> > so maybe if #access == false, an element gets it's value set to the
> > #default_value and it is not rendered? just to make handling the form
> more
> > consistent?
>
> That is what I would expect to happen, and 99% of the time is what I want
> to
> happen. :-)
>
> If that's not what happens now, uh, what does happen?
>
> --
> Larry Garfield
> larry at garfieldtech.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20081025/0ef59b7e/attachment.htm 


More information about the development mailing list