HTML::Widget::Element::Textfield(3pm) User Contributed Perl Documentation HTML::Widget::Element::Textfield(3pm)

HTML::Widget::Element::Textfield - Textfield Element

    my $e = $widget->element( 'Textfield', 'foo' );
    $e->comment('(Required)');
    $e->label('Foo');
    $e->size(23);
    $e->maxlength(42);
    $e->value('bar');

Textfield Element.

If true, overrides the default behaviour, so that after a field is missing from the form submission, the xml output will contain the default value, rather than be empty.

HTML::Widget::Element

Sebastian Riedel, "sri@oook.de"

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

2023-08-10 perl v5.36.0