Functions
Link copied to clipboard
fun DelimitedPhoneNumber(strategy: ValidationStrategy = FailFast, pattern: Regex = Patterns.InternationalDelimitedPhoneNumber, length: IntRange = FieldLengths.NumericPhoneNumber): Form
A form for validating international phone numbers that allows delimiters For a sibling, see NumericPhoneNumber
Link copied to clipboard
Arbitrary code with a length of length digits.
Link copied to clipboard
fun NumericPhoneNumber(strategy: ValidationStrategy = FailFast, pattern: Regex = Patterns.InternationalNumericPhoneNumber, length: IntRange = FieldLengths.NumericPhoneNumber): Form
A form for validating international numeric (not delimited) phone numbers.
Link copied to clipboard
fun Password(strategy: ValidationStrategy = FailFast, pattern: Regex = Patterns.Password, length: IntRange = FieldLengths.Password): Form
A form for validating passwords using somewhat opinionated defaults. How passwords are validated by default is described in Patterns.Password
Link copied to clipboard
Web-based url, starting with either http, https, www and containing a domain part and an optional path and query parameters