This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes adding rows to textfield in html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "adding rows to textfield in html" Watch "adding rows to textfield in html" New topic

adding rows to textfield in html

puja shaw
Ranch Hand

Joined: Nov 06, 2012
Posts: 32
can anybody please tell me how to add multiple rows to a textfield in html?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10744

You can't. Text field is essentially single line. Use text area instead

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: adding rows to textfield in html
It's not a secret anymore!