[Html-widget] disabled textfield

Carl Franks fireartist at gmail.com
Fri Aug 4 17:10:12 CEST 2006

On 04/08/06, Jan Gerene <jan at gerene.be> wrote:
> Hi,
> could anybody tell me if it is possible to create a form widget with a
> disabled text input field and how this has to be done.

$element->attributes->{readonly} = "readonly";

You can use the same technique to set any other attributes that aren't
supported by default.


More information about the Html-widget mailing list