[html-formfu] Patch to allow to provide a callback to "when"
inside a Constraint
Carl Franks
fireartist at gmail.com
Fri May 30 16:11:50 BST 2008
2008/5/26 Michele Beltrame <mb at italpro.net>:
> Hi all!
>
> Attached is a small patch for HTML/FormFu/Constraint.pm which allows to
> use a callback for "when" checks inside a constraint. This should allow
> more complex control (i.e. based on multiple fields, external data, etc...)
> on when the constraint is applied:
> I'll provide tests if patch is considered a good idea to merge. ;-)
I like it - once you've written a test + docs, feel free to commit it
Thanks!
Carl
More information about the HTML-FormFu
mailing list