Ian, if you could look at ticket 1634305 on sourceforge[1] for possible inclusion, I'd appreciate it. It's a validator that conditionally validates a dependent field. The docstring shows an example of requiring the "message" field to be populated if a "gift wrap" option is set.
I submitted it after I ran across separate threads where you helped both Ben Bangert & Kevin Dangoor with similar problems, and thought it might be useful to the larger community. Hopefully you'll agree. thanks, -Ken [1] http://sourceforge.net/tracker/index.php?func=detail&aid=1634305&group_id=91231&atid=596419 On 10/20/07, Ian Bicking <[EMAIL PROTECTED]> wrote: > > > FormEncode is overdue for a release, but before that a request: there > has been some mention that FormEncode should ship more useful form > validators. For instance, FieldsMatch is an example of something > currently shipped, but about the only example. Other examples would be > helpful. Probably also something generic to do easy whole-dict > validation would be quite helpful. > > Do people have classes or recipes they've written that are general > enough to include directly in FormEncode? If so, please contribute! > Realistic examples in the docstrings will be very helpful. > > -- > Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org > : Write code, do good : http://topp.openplans.org/careers > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

