[html-formfu] Conditional constraints

Ronald J Kimball rkimball+formfu at pangeamedia.com
Tue Dec 9 21:18:47 GMT 2008


Carl Franks wrote:

> Check out $constraint->when()
> http://search.cpan.org/~cfranks/HTML-FormFu-0.03007/lib/HTML/FormFu/Constraint.pm#when
> 
> If the docs aren't clear, there's examples in the test suite:
>     t/constraints/constraint_when.t
>     t/constraints/constraint_when.yml
> 

Well, that's rather straightforward.  (And I feel silly for having 
overlooked it.)  Thanks!

Ronald



More information about the HTML-FormFu mailing list