This is how I select input fields for a mobile application.

Mdwaseemakram
5 min readJan 16, 2024

--

Let’s start with the anatomy of the text field.

Anatomy of a Text Field

Text fields consist of multiple elements, some of which may only be visible in certain states (such as default, active, or inputted). The image below illustrates the different components that make up a text field. While the style of the field may vary, most text fields are likely to include these elements.

I think a lot of people are familiar with input fields. However, there is huge confusion about which style of input field to use in the mobile application. It depends upon the type of application you are going to build or use.

Have a quick view of different types of input fields.

  1. Text Input Field: Text input fields are commonly used for general text entry, such as names, addresses, and comments. They are versatile and can be used in various contexts, from simple forms to more complex input requirements.
  2. Numeric Input Field: Numeric input fields are ideal for entering numerical values, such as quantities, prices, or measurements. They may benefit from a numeric keyboard layout to facilitate easier input of numbers.
  3. Date Input Field: Date input fields are specifically designed for entering dates, such as birthdates, appointment dates, or event dates. They typically include a date picker or a calendar for easier date selection.
  4. Dropdown/Input Selection Field: Dropdown or input selection fields are useful when users need to select an option from a predefined list. They can be used for selecting options like gender, country, or language, and provide a compact way to present multiple options in a limited space.
  5. Search Input Field: Search input fields are used when users need to search for specific information within an app or a database. They typically include a search icon or a search button for initiating the search process.
  6. Password Input Field: Password input fields are used for secure entry of passwords or other sensitive information. They typically mask the entered characters for privacy and may include features like password strength indicators.
  7. File Input Field: File input fields are used when users need to upload files, such as images, documents, or videos. They typically include a file selector or a file picker for selecting the desired file from the device’s file system.
  8. Custom Input Field: In some cases, custom input field styles may be needed to meet specific requirements or to align with the branding and aesthetics of the mobile application. Custom input fields can be designed to suit the unique needs and preferences of the app’s users.

But………

In my perspective, input fields are classified into two types:

1. Input fields with labels &

2. Input fields without labels.

Input Fields with Label:

Input fields with labels typically include a visible label or placeholder text that describes the purpose of the input field. This label provides context and guidance to users, helping them understand what information is expected in the input field.

Input Fields without Label:

Input fields without labels, also known as floating labels or inline labels, do not have a visible label or placeholder text. Instead, the label is displayed inside the input field itself, and it floats above the input field when the user interacts with it. This design approach can create a cleaner and more minimalistic appearance, as the input fields appear empty until the user starts typing. Input fields without labels are often used in modern, minimalist designs or in situations where screen space is limited and the focus is on visual aesthetics.

Both input field styles have their pros and cons:

  1. Input fields with labels provide clear context and guidance to users, which can be helpful for users who may be unfamiliar with the input field or the type of information required.
  2. On the other hand, input fields without labels can create a more visually appealing and minimalist design but may require users to rely on their memory or guesswork to understand the purpose of the input field.

There are a lot more Pros & cons

How to select the Input field?

I think it is all about the screen/app that you designing for. This is how I select the input field.

This is the KYC process of a fintech product. The process involves 3–4 steps, and users must enter the correct information in each field. If any errors are made, the user will need to redo the entire process until the correct information is provided. To assist with this, labels have been provided to ensure that users provide accurate information in each field. Please note that some companies may charge a fee to verify the user’s KYC information, so it is crucial to provide clear context for each input field to prevent errors.

Here is a login process for any application.The process is not lengthy, as there are only a few input fields, which users will quickly become familiar with. Interestingly, completing your profile is optional.Though it is odd that they did not include a “skip” option for completing your profile, the information can still obtained once the user is logged in to the app.

Conclusion:

Both styles have their pros and cons, and it’s important to carefully consider the specific needs of your design and target users when making a decision. Input fields with labels provide clear context and guidance to users, reducing errors and improving usability, while input fields without labels can create a sleek and minimalist design. However, input fields without labels may require users to rely on memory or guesswork to understand the purpose of the input field, which could pose challenges for accessibility Evaluating these pros and cons and a make an informed decision that aligns with your design goals and user needs.

--

--