logologo
Get Started
Guide
Development
Plugins
API
English
简体中文
Get Started
Guide
Development
Plugins
API
English
简体中文
logologo
Overview

Blocks

Overview

Data Blocks

Table
Form
Details
List
Grid Card
Chart

Filter Blocks

Form

Other Blocks

Action Panel
Iframe
Reference block
Markdown
JS Block

Block Settings

Data Scope
Layout
Block Linkage Rules
Field Linkage Rules
Sorting Rules
Block Deletion
Block Title

Fields

Overview

Generic Settings

Table Column
Detail Form Item
Filter Form Item
Form Item

Specific Settings

Date
File Manager
Sub-form
Select
Picker
Sub-table
Sub-detail
Title
JS Field
JS Item
JS Column

Field Settings

Default Value
Field Label
Show Label
Field Tooltip
Data Scope
Field Component
Number Format
Pattern
Required
Title Field
Validation Rules
Association Field

Actions

Overview

Action Settings

Edit Button
Double Check
Assign Values
Bind Workflow
Edit Popup
Action Linkage Rules

Action Types

Add New
View
Delete
Edit
Import
Import Pro
Export
Export Pro
Export Attachments
Filter
Link
Pop-up
Refresh
Submit
Trigger Workflow
Update Record
Bulk Update
JS Action
Action Permissions

Advanced

Linkage Rules
Event Flow
Variables
RunJS
Previous PageTitle Field
Next PageAssociation Field

#Set Validation Rules

#Introduction

Validation rules are used to ensure that user-input data meets expectations.

#Where to Set Field Validation Rules

#Configure Validation Rules for Collection Fields

Most fields support the configuration of validation rules. After a field is configured with validation rules, backend validation is triggered when data is submitted. Different types of fields support different validation rules.

  • Date field

20251028225946

  • Number field

20251028230418

  • Text field

    In addition to limiting text length, text fields also support custom regular expressions for more refined validation.

20251028230554

#Frontend Validation in Field Configuration

Validation rules set in the field configuration will trigger frontend validation to ensure user input complies with the regulations.

20251028230105

20251028230255

Text fields also support custom regex validation to meet specific format requirements.

20251028230903