Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
TextArea
Home
ColdFusion
Discussions
TextArea
0
Upvote
TextArea
dchard
Participant
,
/t5/coldfusion-discussions/textarea/td-p/848883
Feb 25, 2009
Feb 25, 2009
Copy link to clipboard
Copied
How can I limit a user input into a textarea by 20 rows? For example I'm typing in a textarea and I'm on the 20th row if I press enter or the next character will go to the 21st it won't allow the user to go to the next line.
TOPICS
Advanced techniques
Views
328
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
2 Replies
2
Jump to latest reply
Dan_Bracuk
LEGEND
,
/t5/coldfusion-discussions/textarea/m-p/848884#M78288
Feb 25, 2009
Feb 25, 2009
Copy link to clipboard
Copied
I don't think you can. You can however, limit them to x characters which is generally more useful because it might relate to a db field size.
What's so magic about 20 rows vs 21 anyhow?
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
dchard
AUTHOR
Participant
,
/t5/coldfusion-discussions/textarea/m-p/848885#M78289
Feb 25, 2009
Feb 25, 2009
Copy link to clipboard
Copied
LATEST
it's just my client. he just want to see up to 20 rows in a textarea
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide