I would think formencode/htmlfill allows for this. If you need to validate the entire form, use a chained validator(or several), In your validator you can make your error message say whatever you want.
Spend some time with the docs, they are pretty thorough. http://formencode.org/ and maybe consider not using the validate decorator, not because it doesn't work or is not useful, but it is a tad less flexible, and I don't think it saves you very much honestly. Also, when I was trying to get my brain comprehending this stuff, this section of the pylons book was invaluable. A true "A-HAH !!!!!!" moment honestly. http://pylonsbook.com/en/1.1/working-with-forms-and-validators.html#handling-forms-manually On Oct 23, 4:18 pm, Jonathan Vanasco <[email protected]> wrote: > On Oct 23, 3:55 pm, d2ncal <[email protected]> wrote: > > > I am looking for the same thing. > > > Currently, I am setting session['flash_error'] and calling my > > show_form function which does htmlfill. but there has to have a better > > way. > > How does your show_form function handle htmlfill ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
