Questions tagged [textbox]
A text box, text field or text entry box is a graphical control element intended to enable the user to input text information to be used by the program. Human Interface Guidelines recommend a single-line text box when only one line of input is required, and a multi-line text box only if more than one line of input may be required. Non-editable text boxes can serve the purpose of simply displaying text.
72 questions
0 votes
0 answers
59 views
Should text boxes have a minimum height of at least one line?
I'm working on an app and have a resizable textarea. I noticed that it can be shrunk vertically such that it isn't really tall enough to fit text, as seen below. Should text boxes generally have a ...
0 votes
2 answers
5k views
Text box max character limit best practice
What is the best way to handle max character limit on a text input? Say the text box has a limit of 100 characters, should the user be allowed to input more than 100 characters or should the limit be ...
1 vote
1 answer
675 views
Dealing with whitespace in text areas with a minimum character count
We have a form with a text area where a user must enter a minimum number of characters, say, 50 characters. We also have a character count that counts upwards as the user types. The problem is that a ...
0 votes
2 answers
1k views
Should I prevent users from passing max values or display errors when they do this?
I have several text fields that have max value, I want to provide good UX when the user enters the values. Let's take an example of the percent field which accepts digit values between 0 and 100. My ...
0 votes
2 answers
121 views
How best to present an option to type in text OR choose from a preexisting long list
I have a use case on mobile in which a user can type in a label for a group of items. Certain labels will be very common. The list of common labels is quite long. Finally, not all users will initially ...
1 vote
1 answer
100 views
Expandable textbox as the main component on the screen
I have a screen that its main component is a text box. Users add the text by pasting it in the text box and then click on the button, which results with an image generated in the screen. it is the ...
0 votes
1 answer
78 views
Text-styling box - is there a better name for it?
I designed this UI element. When you want to add a message in a system, platform, product...And you get these options on how to format your text, insert an image, create a hyperlink, etc. So now I ...
0 votes
1 answer
107 views
What is the best text option for warning messages?
I want to make three alerts for the platform that I work, when a user uploads. One: Success Error: Alert: Since my alert space is small and my PO wants large text. I had thought of it this way: file ...
1 vote
1 answer
125 views
How do I make a split input that is regex friendly?
I have a web application that requires the user to enter text that is used to split another string. While I want it to be regex-friendly, I don't want it to confuse new users. For example, if the user ...
1 vote
3 answers
6k views
Enable save button only when value different, or when input is dirty?
I see that a lot of frameworks for form validation have "is dirty" state check which tells if the user has ever modified input value. But I don't see options that compare the original and ...
11 votes
3 answers
2k views
Textbox with an unknown value
I have a textbox where the user can enter a number. In the past, an empty value would indicate that they didn't know the value. Now, the client wants to add an extra step where the user needs to ...
3 votes
1 answer
893 views
Multi-Line Text Box vs Single Line Text Box
We have a 'Notes' section in several of our webpages that is currently only displayed as a single line text box. We tend to get short responses (5-7 words) describing what they need. This almost ...
0 votes
1 answer
4k views
Accessibly of input field's frames
When I look around, I see many websites, apps, and forms consist of text-fields that have a grayish frame. Do text fields have any accessibility rules when it comes to frame's contrast? Is it ok to ...
4 votes
1 answer
1k views
What is the best way to clear text inside a text box?
Usually When using expandable text boxes there isn't a way to clear them unless having a reset button underneath which won't work very well when displaying information in a grid. What do you think is ...
1 vote
1 answer
75 views
Is there a specification for OS-default mouse and keyboard text navigation and selection behavior?
On desktop platforms, each OS has a (relatively similar) set of behavior for text input navigation and selection. Some simple things include moving the cursor left, right, up, and down when tapping ...