String
All rules in this page can be applies to string
Equal
Start with
Validates the input starts with the specified string in rule.
Ends with
Validates the input ends with the specified string in rule.
In
Validates the input is contained by the specified string in rule.
Contains
Validates the input contains specified string in rule.
Not empty
Validates the input is not empty.
Max length
Validates the length of the input is not exceed the max length.
Percentage
Validates the input is number in percentage format.
Base64
Number
Validates the input is a valid number format string
Int
Validates the input is a valid integer format string
Float
Validates the input is a valid float format string
Hex number
Validates the input is a valid hex number format string
Hex Color
Validates the input is a vallid hex color format string
Phone
Validates the input is a vallid phone number in P.R.C
Mobile
Validates the input is a vallid mobile phone number in P.R.C
Match regex
Validate the input matches user defined regex
Last updated
Was this helpful?