- Ant Design
- Global Styles
- Design Patterns
- Design Patterns (Research)
- Overview
- Template Document
- Global Rules
- Visualization
- Motion
- Illustrations
Form Page
A form page is a type of page used for information addition and entry. It ensures that users enter information according to requirements and submit it for system use or guide users in application settings.
Help users clearly understand the current page tasks, quickly find and locate modification targets, easily and accurately understand the meaning and effects of form items, while simplifying the filling process, ensuring that users can complete tasks accurately, easily, and quickly.
Use reasonable information organization and form components to enable users to quickly complete form page tasks.
Reasonable mechanisms to ensure the consequences of operations, such as providing distributed or instant save mechanisms for complex forms; offering regret and quick fix functions like return, reset, cancel, clear, and undo for different scenario tasks.
When organizing and presenting form items on the form page, pay attention to concise expression, efficiency, and accuracy to avoid increasing the cost of user input.
Do not use different components or presentation forms for the same type of content in a form page, as it increases the user's comprehension cost.
The titles and prompts of form items should not use incomprehensible words or be too long, causing high comprehension costs. If uncommon words are unavoidable, use auxiliary elements like help descriptions.
Avoid filling hints with redundant correct statements, e.g., an input hint for a form item called "Name" is "Please enter your name."
Form page templates focus on the experience of submitting a single form. According to the task complexity, four layout solutions are provided:
Lay out all the information that needs to be filled in. Suitable for forms with few content items that cannot be grouped by relevance.
When to Use
When a simple and quick task needs to be completed, e.g., creating with minimal information input.
Decompose large, complex tasks into multiple parts and group them by relevance to reduce user input burden. Although each part is handled individually, they are ultimately submitted together. Suitable for large, complex forms. Proper task segmentation can reduce user error rates.
When to Use
Organize the information users need to fill and confirm in a linear process, using step bars to inform users of the complete process and progress. Often, users are asked to confirm the information again before the final submission, and clear feedback is provided at the end of the process. Suitable for tasks with clear linear logic.
When to Use
When the form page requires a lot of content to be filled in a single task, and different content can be classified and summarized.
When to Use
Dynamic Increase/Decrease: Recommended when the number of form items ≤3, and each input box does not require a separate title.
Editable Table: Recommended when the number of form items is between 2 and 5, so each row of content can be fully displayed.
Collapsible Panel Editing: Recommended when the number of form items is between 6 and 8.
Drawer Editing: Recommended when the number of form items is >8.
Rule Tree: Applied in rule editing scenarios.
Suitable for pages that need to add one or more objects, and each object requires multiple groups of data to be added or edited.
When to Use
Personal profiles, application configuration, and other settings pages are infrequently used. Generally, users will not frequently modify them after operation.
Usage Suggestions
Choose one setting mode per page:
- Instant Effect Mode: Changes take effect immediately when users modify options;
- Submission Effect Mode: Use submission effect mode when there are interdependencies among settings items.
Determine whether to group according to the number of settings items:
- Number <7, grouping is not recommended;
- Number 7~15, grouping is recommended;
- Number >15, tab grouping is recommended.
Ant Design standard login template
Ant Design standard registration template
In a single form page, reasonable layout should be made according to the amount of content to balance page display and user efficiency. Form page layout can be divided into four gradients from simple to complex, and each gradient is compatible with the previous layout method.
Arrange all the information to be filled out from top to bottom in a single column within one area, guiding users to read vertically. According to research, this is the most efficient layout method for task completion.
When space is limited, form items with shorter widths and relevant content can be grouped into one line, suggesting grouping.
When there is a lot of content in one area that can be categorized, in-area grouping can be achieved by distinguishing titles.
When there is a lot of content on a page (usually more than two screens) that can be categorized, card grouping can be used to carry it. Each card needs to include a large title.
The determination of which layout method to use is similar to the Detail Page, and should be sorted out from the two dimensions of information complexity and relevance. Then choose the appropriate template to quickly build the page.