View Full Version : Need to add more input boxes on form with 'add' button

12-30-2003, 03:17 PM
anyone know how I could do the following:

have a form with in input box and it provides the user with the following options, they can fill it in and click submit button or fill it in and click the 'Add more' - this will show another blank input box on the screen allowing them to input another value, etc, etc, until they click the submit button.

12-30-2003, 03:24 PM
Here's a form I built (http://www.10mar2001.com/temp/formUI/) (with great help from liorean - thanks!) which does that and more - it allows for deletion.

In the script file (http://www.10mar2001.com/temp/formUI/formUI.js), look at the functions addMember(), addMethod(), and addArgument() to see how I did it. If you have problems wading through my code, let me know and I'll try to explain what I've done.

12-30-2003, 08:26 PM
Thank you!