[dev] horde_form / read-only fields

Chuck Hagenbuch chuck at horde.org
Wed Feb 26 10:14:11 PST 2003


Quoting Marko Djukic <marko at oblo.com>:

> look at giapeto/lib/Edit.php, line 61 for example. wanted the field to
> edit the page name be available only if the page is not the root one. but 
> i had to add also the toggle between required/not required too.

Ah, okay.

I guess a solution would be to include hidden values for readonly form
elements when you render a form active, instead of inactive. Your other
option is to use an HTML form type or some such for the "readonly" values.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*


More information about the dev mailing list