Jump to content

HTML5 Forms: User-added inputs


Recommended Posts

Hi All,


I apologize if this is completely the wrong place, I did a quick search for HTML5 forums to try and get my question answered, and this seems to be the most active! If this is the wrong place or unwanted, apologies!


Anyway,  I'm creating a webpage that will have a form for users to input text, but the inputs could range anywhere from 1 to 1,000,000! I felt like i'd seen the functionality I'm hoping for elsewhere before but who knows. 


Is it possible for my page to begin with a single input text field and then have a button "Add another input" which would then pop another input text field in below the previous?  Is there a way to cap it, at say 10 inputs?


The code i'm thinking of is




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...