Text
1. Field Introduction
Used to record text information. When the text content is a link, and the text field is used in conjunction with a barcode, it supports scanning to parse the link.
2. Display Mode
Supports setting to single-line or multi-line mode. 2.1 Single-line mode: Displayed in a single line, currently limited to 1000 characters, which may be adjusted in the future.
2.2 Multi-line mode: Displayed in multiple lines, supports line breaks, limited to 1000 characters.
3. Default Value
3.1 Supports Fixed Value Manually enter text characters.
3.2 Supports Dynamic Value Other Field Values: Supports matching text, number, date, and object type fields from the current table or related tables. Query Worksheet: By querying a worksheet, you can obtain records that meet the conditions and fill the matching field of the query table into the text field of the current table. Function Calculation: The default text value is the result of a function calculation.
4. Validation
4.1 Supports field content to be [Mandatory].
4.2 Supports field content [No Duplicates Allowed].
4.3 Supports field content [Limited Number of Characters]. You can set a minimum of 1 character and a maximum of 1000 characters.
4.4 Supports field content [Limited Input Format]. When a text field is set to a certain input format, the system will automatically verify the input. If an error is made, it will prompt an error message according to the set content. Currently, 14 input formats are preset in the component, as listed below (if you need to customize the regular expression, you can directly modify any input format, confirm and save the form settings to take effect):
Format Name | Regular Expression |
---|---|
Letters | ^[A-Za-z]*$ |
Alphanumeric | ^[A-Za-z0-9]*$ |
Numbers | ^\d*$ |
Uppercase Letters | ^[A-Z]*$ |
Lowercase Letters | ^[a-z]*$ |
Postal Code | ^\d6$ |
IP Address | ^((2(5[0-5] |
Link | ^https?://\w+.\w+.\w+.*$ |
Mainland Plate | ^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领]\w9$ |
Chinese ID Card | ^\d17[\dX]$ |
HK ID Card | ^[A-Z]2[0-9]10([0-9A-Z] |
Chinese Passport | (^[EeKkGgDdSsPpHh]\d8$) |
HK Passport | (^1[45][0-9]7$) |
sidebar_position: 1 tags:
- Field Types
Text
1. Field Introduction
Used to record text information. When the text content is a link, and the text field is used in conjunction with a barcode, it supports scanning to parse the link.
2. Display Mode
Supports setting to single-line or multi-line mode. 2.1 Single-line mode: Displayed in a single line, currently limited to 1000 characters, which may be adjusted in the future.
2.2 Multi-line mode: Displayed in multiple lines, supports line breaks, limited to 1000 characters.
3. Default Value
3.1 Supports Fixed Value Manually enter text characters.
3.2 Supports Dynamic Value Other Field Values: Supports matching text, number, date, and object type fields from the current table or related tables. Query Worksheet: By querying a worksheet, you can obtain records that meet the conditions and fill the matching field of the query table into the text field of the current table. Function Calculation: The default text value is the result of a function calculation.
4. Validation
4.1 Supports field content to be [Mandatory].
4.2 Supports field content [No Duplicates Allowed].
4.3 Supports field content [Limited Number of Characters]. You can set a minimum of 1 character and a maximum of 1000 characters.
4.4 Supports field content [Limited Input Format]. When a text field is set to a certain input format, the system will automatically verify the input. If an error is made, it will prompt an error message according to the set content. Currently, 14 input formats are preset in the component, as listed below (if you need to customize the regular expression, you can directly modify any input format, confirm and save the form settings to take effect):
Format Name | Regular Expression |
---|---|
Letters | ^[A-Za-z]*$ |
Alphanumeric | ^[A-Za-z0-9]*$ |
Numbers | ^\d*$ |
Uppercase Letters | ^[A-Z]*$ |
Lowercase Letters | ^[a-z]*$ |
Postal Code | ^\d6$ |
IP Address | ^((2(5[0-5] |
Link | ^https?://\w+.\w+.\w+.*$ |
Mainland Plate | ^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领]\w9$ |
Chinese ID Card | ^\d17[\dX]$ |
HK ID Card | ^[A-Z]2[0-9]10([0-9A-Z] |
Chinese Passport | (^[EeKkGgDdSsPpHh]\d8$) |
HK Passport | (^1[45][0-9]7$) |