How to add another line on overflow in a text input?
I want to create more text area for the user ( A new empty line ), when the user has filled out the textbox completely.
I'm not sure whether I can do this with CSS or if I need to use JS.
I don't want the text to keep continuing in the same amount of area, like what happens by default.
My Question is: How can I make my tag:
<input type="text" />, automatically display a new empty text line when the initial text area is filled out, instead of continuing the text in the same area?
You should use a
<textarea> instead of an
<input type="text">. It is multiline by design.