Home > The parts that make up > text box

text box

The heart of the form, the text box

テキストボックス例
The text box is often seen in forms, but there are various ways to use it. First of all, the light gray text is called a "placeholder", and it can be used to display a sample input when nothing is entered in the text box. When the text box is empty, a sample input can be displayed. This allows you to tell the user exactly what to enter. However, as users are human, it is inevitable that they will make typing mistakes. Therefore, by making the frame red when a mistake is made, or by showing what is wrong in an easy-to-understand manner, users can correct their mistakes smoothly. The user can correct the mistake smoothly. Also, if the length of the string to be entered is known, such as a zip code, the size of the text box can be adjusted to match the length of the string to be entered. If you know the length of the string to be entered, such as a zip code, you can adjust the size of the text box appropriately to match the length of the string to be entered, thus visually informing the user of what to enter. In a form like this, where there are many user actions, it is important to ensure that the user can operate the form without getting lost. is most apparent.