[development] Making #access required on forms
Larry Garfield
larry at garfieldtech.com
Sat Oct 25 18:30:27 UTC 2008
I've tried that, too. That also breaks sometimes depending on the module,
especially for CCK fields.
On Saturday 25 October 2008 2:33:35 am Earl Dunovant wrote:
> 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
More information about the development
mailing list