Wiki源代码01 Single Line

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

隐藏最后作者
yufei li 9.3 1 **Feature Overview**
yufei li 1.1 2
yufei li 9.3 3 The basic fields of a form can be used in many scenarios for viewing or entering short information.
yufei li 1.1 4
yufei li 9.3 5 **Use Cases**
yufei li 1.1 6
7 * (((
yufei li 9.3 8 Single-line text can be used to enter short text information such as name, product name, company name, specifications, model, etc.;
yufei li 1.1 9 )))
10 * (((
yufei li 9.3 11 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.
yufei li 1.1 12 )))
13
yufei li 9.3 14 **Setting Method**
yufei li 1.1 15
yufei li 9.3 16 Method 1: Click directly on the single-line text in the basic fields to insert the field into the form.
yufei li 1.1 17
yufei li 9.3 18 Method 2: Drag and drop the ‘Single-line Input’ widget into the form to complete the operation.
yufei li 1.1 19
yufei li 9.3 20 **Notes**
yufei li 1.1 21
22 * (((
yufei li 9.3 23 The content in a single-line text cannot exceed 255 characters, including Chinese characters, letters, punctuation marks, and numbers.
yufei li 1.1 24 )))
25 * (((
yufei li 9.3 26 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.
yufei li 1.1 27 )))
28 * (((
yufei li 9.3 29 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.
yufei li 1.1 30 )))
31
yufei li 9.3 32 **Widget Properties**
yufei li 1.1 33
34
yufei li 2.1 35 (% style="width:724px" %)
yufei li 9.3 36 |(% style="width:149px" %)**Widget Properties**|(% style="width:184px" %)**Settings Options**|(% style="width:388px" %)**Settings Options Description**
37 |(% rowspan="6" style="width:149px" %)Basic Properties|(% style="width:184px" %)Name|(% style="width:388px" %)Used to distinguish different widgets.
38 |(% style="width:184px" %)Display Name|(% style="width:388px" %)Used to control whether the widget name is displayed when filling out the form.
39 |(% style="width:184px" %)Width|(% style="width:388px" %)Used to control the display width of the current widget when filling out the form.
40 |(% style="width:184px" %)Placeholder|(% style="width:388px" %)Used to guide the filler in entering content.
41 |(% style="width:184px" %)Help Text|(% style="width:388px" %)A question mark hover appears when filling out the form, which can display help text.
42 |(% style="width:184px" %)Permissions|(% style="width:388px" %)(((
43 Visibility Permissions: Visible, Conditionally Visible, Invisible;
maym 9.1 44
yufei li 9.3 45 Edit Permissions (precondition: visibility permissions): Editable, Non-editable;
maym 9.1 46
yufei li 9.3 47 Mandatory Permissions (precondition: edit permissions): Mandatory, Conditionally Mandatory, Not Mandatory;
maym 9.1 48
yufei li 9.3 49 Field permissions only take effect in non-process forms;
maym 9.1 50
yufei li 9.3 51 Additionally, conditionally visible and conditionally mandatory permissions take effect in both process and non-process forms.
maym 9.1 52 )))
yufei li 9.3 53 |(% rowspan="10" style="width:149px" %)Special Properties|(% rowspan="2" style="width:184px" %)Default Value|(% style="width:388px" %)Custom Text
54 |(% style="width:388px" %)Calculated According to Formula
55 |(% style="width:184px" %)Validation|(% style="width:388px" %)(((
maym 9.4 56 None、Mobile Number、Email、ID number、Postal code、
57
58 自定义正则表达式
59
60 [[image:1745736834987-697.png]]
61
62 正则表达式注意最外层不能使用“~\~\”包裹;
63
64 表达式名称请规范填写,客户端将用它拼接格式校验不通过的提示语;如“请输入手机号码”,手机号码就是这里填写的表达式名称。
yufei li 9.3 65 )))
66 |(% style="width:184px" %)Char Limit|(% style="width:388px" %)Minimum - Maximum
67 |(% style="width:184px" %)Character Count|(% style="width:388px" %)Radio Button
68 |(% style="width:184px" %)Encryption|(% style="width:388px" %)Encryption Format, Encryption Bits
69 |(% style="width:184px" %)Prefix|(% style="width:388px" %)Single-line Input Box
70 |(% style="width:184px" %)Suffix|(% style="width:388px" %)Single-line Input Box
71 |(% style="width:184px" %)Prefix icon|(% style="width:388px" %)Click to Select Box
72 |(% style="width:184px" %)Suffix icon|(% style="width:388px" %)Click to Select Box
yufei li 1.1 73
74 ==== ====
75
76