Thanks for the info -- works like a charm -- couldn't seem to pick
that one out of the docs although I figured there must be something
like that...

m

On Dec 28, 3:53 pm, Ian Bicking <[EMAIL PROTECTED]> wrote:
> Matt wrote:
> > Hi, I'm trying to use form encode to validate a form checkbox, in the
> > template:
>
> >     <td>Flagged:</td><td> ${ h.check_box('flagged', value=True,
> > checked = c.flagged) }</td>
>
> > In my validator:
>
> >     flagged         = formencode.validators.StringBoolean()
>
> Use:
>
>    StringBoolean(if_missing=False)
>
> --
> Ian Bicking : [EMAIL PROTECTED] :http://blog.ianbicking.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to