Re: [FE-discuss] Multiple HTML fields to one Python value, …

Top Page
Author: Mike Orr
Date:  
To: formencode-discuss
Subject: Re: [FE-discuss] Multiple HTML fields to one Python value, and vice-versa
On Thu, Feb 28, 2008 at 12:33 PM, Mike Orr <sluggoster@???> wrote:
> I got my LatitudeLongitude widget to work by making the value a dict
> containing both the HTML values and Python values. The code is too
> long to post, but here's the docstring.


Also, I used FancyValidator rather than FormValidator, and validated
the int/float values myself rather than using validators. it seemed
to be depending on too much magic to use field validators and my own
code, so I wasn't sure I'd get it right. And FormEncode's "partial
validation" I still haven't found a use for, or at least if I do need
it I don't know it, so I decided to stick with something simpler until
I do find a need.

-- 
Mike Orr <sluggoster@???>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FormEncode-discuss mailing list
FormEncode-discuss@???
https://lists.sourceforge.net/lists/listinfo/formencode-discuss