Re: [html-formfu] Constraint: increasing value

2011-10-24 Thread Matthias Dietrich
Hi, Am 24.10.2011 um 21:31 schrieb Alex Povolotsky: > How can I most clean and nice write a constraint "Number must not be > decreased"? > > As far as I remember, H::F::C::Range allows only constants... maybe create a validator? Matthias -- rainboxx Software Engineering Matthias Dietrich r

Re: [html-formfu] Constraint: increasing value

2011-10-24 Thread Adam Prime
It only allows constants, but you can override the values from the yaml in your application code. just make sure you call process() again after you edit the constraint. Adam On 11-10-24 03:31 PM, Alex Povolotsky wrote: Hello! How can I most clean and nice write a constraint "Number must not

[html-formfu] Constraint: increasing value

2011-10-24 Thread Alex Povolotsky
Hello! How can I most clean and nice write a constraint "Number must not be decreased"? As far as I remember, H::F::C::Range allows only constants... Alex ___ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/m