---
order: 6
title:
zh-CN: 表单验证
en-US: Validation
---
## zh-CN
Form 组件提供了表单验证的功能,只需要通过 `rules` 属性传入约定的验证规则,并将 `FormItem` 的 `name` 属性设置为需校验的字段名即可。校验规则参见 [async-validator](https://github.com/yiminghe/async-validator)
## en-US
Just add the `rules` attribute for `Form` component, pass validation rules, and set `name` attribute for `FormItem` as a specific key that needs to be validated. See more information at [async-validator](https://github.com/yiminghe/async-validator).
Zone one
Zone two
Online
Promotion
Offline
Sponsor
Venue
Create
Reset