[html-formfu] some questions

Mario Minati mario.minati at googlemail.com
Mon Sep 10 12:40:47 GMT 2007

On Monday 10 September 2007 12:34:49 Carl Franks wrote:
> Hi Jim,
> On 07/09/2007, Jim Spath <jspath at pangeamedia.com> 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.


More information about the HTML-FormFu mailing list