Yes just create as many form as you display on your screen.
class ...
form1=MyForm(action='submit_form1')
form2=MyForm()
@expose()
def index():
...
return dict(form1=form1, form2=form2)
=== in .kid ==
${form1()}
${form2(action='submit_form2')}
On 4 juin, 13:58, Christopher Arndt <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
> > What's the standard means of using validators, and expressing
> > validation errors, for the case when a template contains several
> > copies of the same form?
>
> > The default behaviour seems to be for every copy of the form to
> > express the validation errors.
>
> > And I don't want that. I want the errors to be restricted to the copy
> > of the form that was stuffed up.
>
> Can you post some code that demonstrates the behaviour you get? maybe
> you just have to set different "name" attributes on your form widgets?
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---