01 Single Line

由用户 maym 在 2025/04/27 06:58 保存的版本 9.4

Feature Overview

The basic fields of a form can be used in many scenarios for viewing or entering short information.

Use Cases

  • Single-line text can be used to enter short text information such as name, product name, company name, specifications, model, etc.;

  • It can also be used to enter numerical information that does not require addition, subtraction, multiplication, or division calculations, such as mobile phone numbers, ID card numbers, employee numbers, bank card numbers, member numbers, etc.

Setting Method

  Method 1: Click directly on the single-line text in the basic fields to insert the field into the form.

  Method 2: Drag and drop the ‘Single-line Input’ widget into the form to complete the operation.

  Notes

  • The content in a single-line text cannot exceed 255 characters, including Chinese characters, letters, punctuation marks, and numbers.

  • When using the ‘Character Limit’ function, only numbers from 0 to 300 can be entered as the character limit range. When a decimal number is entered, it will be rounded down. For example: Entering 4.5 will be treated as 4.

  • Sensitive fields do not support search in full mask mode. However, they can be used as filter fields and can also participate in calculations. The value after participating in the calculation will not be desensitized. When printing, the desensitized style will be used.

Widget Properties

Widget PropertiesSettings OptionsSettings Options Description
Basic PropertiesNameUsed to distinguish different widgets.
Display NameUsed to control whether the widget name is displayed when filling out the form.
WidthUsed to control the display width of the current widget when filling out the form.
PlaceholderUsed to guide the filler in entering content.
Help TextA question mark hover appears when filling out the form, which can display help text.
Permissions

Visibility Permissions: Visible, Conditionally Visible, Invisible;

Edit Permissions (precondition: visibility permissions): Editable, Non-editable;

Mandatory Permissions (precondition: edit permissions): Mandatory, Conditionally Mandatory, Not Mandatory;

Field permissions only take effect in non-process forms;

Additionally, conditionally visible and conditionally mandatory permissions take effect in both process and non-process forms.

Special PropertiesDefault ValueCustom Text
Calculated According to Formula
Validation

None、Mobile Number、Email、ID number、Postal code、

 自定义正则表达式

1745736834987-697.png

正则表达式注意最外层不能使用“\\”包裹;

表达式名称请规范填写,客户端将用它拼接格式校验不通过的提示语;如“请输入手机号码”,手机号码就是这里填写的表达式名称。

Char LimitMinimum - Maximum
Character CountRadio Button
EncryptionEncryption Format, Encryption Bits
PrefixSingle-line Input Box
SuffixSingle-line Input Box
Prefix iconClick to Select Box
Suffix iconClick to Select Box