Validation Builder
class ValidationBuilder
A builder for creating PersonNameRules.
Functions
Link copied to clipboard
Builds the validation rule.
Link copied to clipboard
Sets the maximum allowable length.
Link copied to clipboard
Sets the minimum allowable length.
Link copied to clipboard
fun setRegex(regex: String, errorMsg: String = RegexValidator.DEFAULT_ERROR_MSG): PersonNameRule.ValidationBuilder
Sets the regex for validation.