On Wednesday 18 July 2007 21:02:09 Lukasz Szybalski wrote:
> Hello,
> I have 3 form widgets displayed on one single page.
> Each of these widgets has a submit button.
>
> 1. Could you point me to an example where I could replace 3 submit
> bottons with one. Submit button which will submit data for all 3
> widgets. Is that possible?
> "
>  widget 1
> first name
> last name
>
> widget 2
> home phone
> work phone
>
> widget 3
> home email
> work email
>
> submit
> "

Don't use three form widgets, use one. Alternatively, provide a custom 
template for the three form widgets that DOESN'T render the form-tag and 
submit-buttons, and write these into the surrounding template.


> 2. How do I replicate same widget multiple times:
>
> widget 4(add people)
> first
> last
>
> widget 4(add more people)
> first
> last
>
> widget 4(add even more people)
> first
> last
>
> submit

Look at the RepeatingInputWidget

Diez

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to