Thorsten Drobnik
and 1 contributors

HTML::TurboForm::Constraint::Equation

Representation class for Equation constraint.

DESCRIPTION

The equation constraint is supposed to be used whenever two values are to be compared. You have to give it the perl operator (ne, eq, <,>, whatever) and the two values to be compared via the params hash. Straight forward so no need for much documentation. See HTML::TurboForm doku for mopre details.

METHODS

check

Arguments: none

returns 1 if valid, otherwise 0.

message

Arguments: none

returns Errormessage of Element which is connected to constraint.

AUTHOR

Thorsten Domsch, tdomsch@gmx.de