Core Concepts
Form Validation
An overview of YiDA’s form validation capabilities, including built-in validation rules for each form component and instructions for writing custom validation functions to ensure the integrity of submitted data.
Forms are the most common scenario in YiDA. When working with Forms, you often need to validate Fields. In addition to built-in validation rules for various form components, the YiDA platform also provides custom field validation capabilities, helping you manage Form data and prevent dirty data from being submitted.
When submitted data fails validation, an error message appears below the Field and the submission is blocked, as shown below:
For example, to validate whether the content of a text input Field starts with “Hangzhou”, use the following: