Published at: 2026-09-17
Single-line text
Overview
The single-line text field is the most commonly used basic field type in enterprise data modeling. It is suitable for all scenarios that require short text entry. This field supports mobile barcode scanning and back-end AI content generation, making it an essential data carrier for building core objects such as accounts, products, and orders.
Basic specifications
| Attribute | Description |
|---|---|
| Applicable scenario | Names, phone numbers, codes, and other short text |
| Maximum characters | 100 characters |
| Barcode scanning | Yes (mobile supports barcode scanning and manual entry) |
Configuration highlights
- Field name: Must be unique within the object.
- API name: Auto-generated by the system. Do not modify unless necessary.
- Help text: Supports hover question mark display or inline display.
- Default value: Enter text or use a formula to calculate the value.
- Placeholder text for empty value: Supported. Displays prompt text when the field is empty on the create/edit page.
- Allow duplicates: Set to “Do not allow duplicates” to validate data uniqueness.
- AI content generation: When enabled, select or create a prompt template for AI-generated text content.
Default values and required settings
Default value
Single-line text fields support the following default value methods:
- Fixed text: Enter a text string as the default value.
- Formula: Use a formula to dynamically generate the default value, such as inserting global variables or system variables.
[!NOTE] The default value is auto-filled when creating a new record in the front end. Users can modify it after pre-filling. After modifying a default value formula, historical data is not recalculated.
Required configuration
- Field-level required: On the field configuration page, set “Required” to “Yes”. This applies across all scenarios (front-end entry and back-end import). Missing values prevent saving.
- Layout-level required: If the field is required only in specific business scenarios, set it as not required in the field properties. Then, in the specific page layout editor, check “Required”.
- Conditional required: If the required condition depends on the value of another field, configure validation rules.
Usage limitations
- Field values are limited to 100 characters. Characters beyond this limit cannot be entered.
- Rich text formatting is not supported. Use a rich text field if you need formatted content.