I want to create a page where a user cand insert information about a student so i use a form with two fields : - first name - last name. And also two buttons: Save (saves the student info into a database) and Add (shows another form looking exactly as the same). One ideea was to use javascript and hide all the forms except the first one and then, when the Add button is pressed to make visible another form, but i don't know many students the user wants to insert, so i can't create all the forms when the page is loaded. I need a way to create dynamically a form, add it to a list with forms and add it to the page. When the Save button is pressed i could iterate over the list of form and get info from every particular form.
Can someone help me, please ?
Iterator
s. – hakre Mar 23 '12 at 15:45