Use a ListEdit backed by a list. When the add button is pressed, add an
empty element to the list. Simply have the ListEdit render everything in
the list.
 
This implies that the add button submits the form.
 
Richard


  _____  

From: Tapestry Forum User [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 04, 2005 12:57 PM
To: [email protected]
Subject: Dynamically Adding Fields



Hi
I want to create a field dynamically based on user's input. A html page
will have a text field and then an Add Button. 
When the user clicks on the Add Button it should create another text
field on the same page. How do I do this?

When I click on the submit button, how do I get the values of these
dynamically created fields?

Please advice.



Sent using Mail2Forum (http://www.mail2forum.com) Read this topic online
here: http://www.tapestryforums.com/viewtopic.php?p=2024#2024
<http://www.tapestryforums.com/viewtopic.php?p=2024#2024> 



Reply via email to