Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Dynamic Text Box Creation

    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

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A search of this forum will find you a few similar requests so what you want to do is quite possible.

    Dynamic text boxes from select list
    (Not necessarily the best thread on this subject)

    However this thread may be a caution:

    problems with forms and dynamic input elements
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #3
    New to the CF scene
    Join Date
    Sep 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, I will check those links out and see if I can find more.
    Mike


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •