NAME

HTML::Widget::Element::Submit - Submit Element

SYNOPSIS

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

DESCRIPTION

Submit Element.

METHODS

value

label

The value of this Submit element. Is also used by the browser as the button label.

If not set, the browser will usually display the label as "Submit".

"label" is an alias for "value".

src

If set, the element will be an image submit, using this url as image.

height

Only used if "src" is set.

Sets the height the image submit button should be rendered.

width

Only used if "src" is set.

Sets the width the image submit button should be rendered.

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.

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.