CGI::Test::Form::Widget::Box(3pm) | User Contributed Perl Documentation | CGI::Test::Form::Widget::Box(3pm) |
CGI::Test::Form::Widget::Box - Abstract representation of a tickable box
# Inherits from CGI::Test::Form::Widget
This class is the abstract representation of a tickable box, i.e. a radio button or a checkbox.
To simulate user checking or un-checking on a box, use the "check()" and "uncheck()" routines, as described below.
The interface is the same as the one described in CGI::Test::Form::Widget, with the following additions:
If the specified tag is not found, the caller will get a warning via "carp".
If the specified tag is not found, the caller will get a warning via "carp".
There is an additional predicate to distinguish between a checkbox and a radio button:
Normally only useful for checkboxes: a standalone radio button, although perfectly legal, would always remain in the checked state, and therefore not be especially interesting...
Although documented, those features are more targetted for internal use...
You should use the "check" and "uncheck" convenience routines instead of calling this feature.
The original author is Raphael Manfredi.
Steven Hilton was long time maintainer of this module.
Current maintainer is Alexander Tokarev <tokarev@cpan.org>.
CGI::Test::Form::Widget(3), CGI::Test::Form::Widget::Box::Radio(3), CGI::Test::Form::Widget::Box::Check(3).
2022-06-10 | perl v5.34.0 |