...

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



Chester
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.

Choopernickel
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.

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum