Hi all,

Please tell me the different between textField and textArea. The reason is that I want to use only one of them throughout my application for simplicity and ease of management.

George.

asked 23 Jan '14, 18:17

grajan777's gravatar image

grajan777
1011229
accept rate: 10%


Well, actually you can't just decide on one of them and then use it throughout the application. Or at least you shouldn't.. The difference is that you are able to write only one line into a textField. A textArea is for multiline purposes. So, I would recommend using textArea when the user should be able to insert multiline content and textField for every other case.

link

answered 24 Jan '14, 02:05

Mazzel's gravatar image

Mazzel
31115
accept rate: 0%

Thank you Mr. Mazzel,

But if I use textArea for single line content there should not be any problem.

I am thankful to your for answering. Normally and lately it takes long time to get an answer on this forum and by the time the answer comes out, one forgets the reason why he asked the question in the first place. Time has it's relevance.

Regards,

George.

(24 Jan '14, 03:28) grajan777

I suppose, there should be no problem. But it would be rather convenient to have a textField where the user has to enter content without newlines (like standard name or address forms or username/password fields).. IMO it is a greater achievement to have a better experience for the user than have maybe a little simpler development..

(24 Jan '14, 03:41) Mazzel
1

Yes, You are right.

(24 Jan '14, 07:51) grajan777
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×12
×4
×1

Asked: 23 Jan '14, 18:17

Seen: 1,872 times

Last updated: 24 Jan '14, 07:52


© Copyright Gerger 2017