On Monday 10 September 2007 12:34:49 Carl Franks wrote: > Hi Jim, > > On 07/09/2007, Jim Spath <[EMAIL PROTECTED]> wrote: > > The first one is how to easily utilize values which have been altered by > > FormFu's validation. An example would be the TrimEdges filter. If a > > user enters a value like " foo " and we need to redisplay the form, I > > would like the prefilled value to be "foo". > > To get this behaviour, set 'render_processed_value' to a true value. > > You can set this at the form level to effect all fields, or set it at > the fieldset- or field-level. > > One thing to beware is if you have Inflators on a field that create an > object, you'll need to ensure either that the object stringifies > correctly, or set "render_processed_value = 0" for that particular > field.
I put that in the FromFu FAQ section in svn. Greets, Mario _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu