Apache::Wyrd::ErrField - Alter layout of an Apache Wyrd to indicate errors
<BASENAME::ErrField trigger="name"> <b>Name:</b> </BASENAME::ErrField><br> <BASENAME::Input type="text" name="name" flags="required" />
Identical to Apache::Wyrd::ErrTag, but instead changes the format of the enclosed text (by default to the CSS class of "error"), if the trigger error has occurred. This is meant to be used as a method of changing the appearance of the titles of inputs when those inputs contain illegal values.
Apache::Wyrd::ErrTag
Alias of triggers.
Which errors to alter state for. May be a comma or whitespace separated list.
(format: (returns) name (arguments after self))
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 _format_output method.
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.