Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Default Validator takes care of most form input element validation use cases need.默认验证器可以解决大多数验证的需求。

Figure 1: Default Validator Properties

图1:默认验证器属性

名称描述NameDescription
MandatoryWhen checked, field value must be filled.选中时,字段值必须填写。
Type
    Alphabet
    • 字母
  • Alphanumeric
    • 字母数字
  • Numeric
    • 数字
  • Email
    • 电子邮件
  • Custom Regular Expression
    • 自定义正则表达式
Custom Regular ExpressionRequired when Custom Regular Expression is selected in Type attribute above.当在上面的“ 类型”属性中选择“ 自定义正则表达式”
Custom Error Message Shown When Validation FailMessage to show when validation fails.当验证失败时显示消息。