Scroll to navigation

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

NAME

HTML::Widget::Element::Hidden - Hidden Element

SYNOPSIS

    my $e = $widget->element( 'Hidden', 'foo' );
    $e->value('bar');

DESCRIPTION

Hidden Element.

METHODS

value

Default value is 1.

retain_default

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.

new

containerize

SEE ALSO

HTML::Widget::Element

AUTHOR

Sebastian Riedel, "sri@oook.de"

LICENSE

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

2022-06-14 perl v5.34.0