...

View Full Version : Dynamic Text Box Creation



1Winston
09-07-2004, 10:59 PM
I need to create an unknown number of text boxes. An email address will be entered into each text box. The idea that had come to my mind was to present X number of text boxes on the initial page load. Then, when the user clicks on the last available text box to enter an email address, a function (I guess javascript) is called to create another empty text box. Then, upon clicking on this newly created text box, another new text box is created....... and so on and so on.
My questions: Is this possible to pull off? Would javascript be the tool to use? Any guidance on where I can find the resources to learn how to implement it?

Thank you all,
Mike

Roy Sinclair
09-08-2004, 04:09 PM
A search of this forum will find you a few similar requests so what you want to do is quite possible.

http://www.codingforums.com/showthread.php?t=38555&highlight=input+form+dynamic
(Not necessarily the best thread on this subject)

However this thread may be a caution:

http://www.codingforums.com/showthread.php?t=31293&highlight=input+form+dynamic

1Winston
09-08-2004, 06:46 PM
Thanks, I will check those links out and see if I can find more.
Mike



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum