[html-formfu] New constraints: Greater than and Less than

Justin Pacheco jpacheco at oanda.com
Tue Aug 10 20:28:17 GMT 2010


Hello, Mailing List.

Attached to this email is a patch for two new HTML::FormFu constraints: =

GreaterThan and LessThan (descriptions are in their respective pods).

Motivation:

Currently available constraints are not capable of evaluating situations =

that require a value to be greater (or less) than a specified one. =

Constraints such as Range, MaxRange, MinRange use equal to or greater =

(less) than for their comparisons which is not helpful in times where =

the value must be greater (less) than a specified one.

I believe these two new constraints provide valuable functionality to an =

otherwise complete form processing framework.


//jp



-------------- next part --------------
A non-text attachment was scrubbed...
Name: greaterthanlessthan.patch
Type: text/x-patch
Size: 2806 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20100810/6=
63cd62b/greaterthanlessthan.bin


More information about the HTML-FormFu mailing list