posted 17 years ago
Hi,
I wonder how to implement the following design: I would like to have a list of all family members. Of course I can't tell their size in advance so I thought of implementing an add button such as this
First Name Last Name
1__________ _________
[ADD]
When the user clicks the button, a new row will be added with a new text field:
First Name Last Name
1__________ _________
2__________ _________
[ADD]
My problem is in the action. Assuming the user has clicked the add button, how exactly should I handle it in the action?