NAME

HTML::Widget::Plugin::Password - for SECRET input

SYNOPSIS

$widget_factory->password({
  id    => 'user_secret',
  value => "not visible in html",
});

DESCRIPTION

This plugin provides a widget for password-entry inputs.

METHODS

provided_widgets

This plugin provides the following widgets: password

password

This method returns a password-entry widget.

In addition to the generic HTML::Widget::Plugin attributes, the following are valid arguments:

value

This is the widget's initial value. The value is eaten and displayed as a series of spaces, if the value is defined.

rewrite_arg

The password plugin's rewrite_arg replaces any non-empty value with a string of spaces so that passwords are not inadvertantly sent as plain text.

AUTHOR

Ricardo SIGNES <rjbs @ cpan.org>

COPYRIGHT

Copyright (C) 2005-2007, Ricardo SIGNES. This is free software, released under the same terms as perl itself.