Apache::Wyrd::ErrTag - Indicate errors on a Form Wyrd
<b>Name:</b><BASENAME::ErrTag trigger="name" /><br> <BASENAME::Input type="text" name="name" flags="required" />
The ErrTag is an item which shows up when an error occurs. It is used for putting a placemarker, typically an asterisk, next to an input with an error in it's input.
Alias of triggers.
Which errors to alter state for. May be a comma or whitespace separated list.
(format: (returns) name (arguments after self))
default_tag
Returns the HTML string which should be used as the default. Normally an asterisk spanned with the class "error".
fire
Method called to trigger the behavior of an error.
get_triggers
Called by the Form parent to determine what error conditions will trigger this tag.
Reserves the _setup, _format_output, and final_output methods.
_setup
_format_output
final_output
Barry King <wyrd@nospam.wyrdwright.com>
General-purpose HTML-embeddable perl object
Build complex HTML forms from Wyrds
Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for Apache::Wyrd.
Apache::Wyrd
To install Apache::Wyrd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Wyrd
CPAN shell
perl -MCPAN -e shell install Apache::Wyrd
For more information on module installation, please visit the detailed CPAN module installation guide.