A pre-applied String version of the Field type, and validation function
to go along with them.
A view config object for String fields. See ViewConfig
A validation function for a String Field
Enforces that a field is not empty
Enforce that a field is an email.
The format the email just follow is:
[ >1 upper,lower,digit,symbol ]@[ >2 upper,lower,digit,symbol ].[ >2 upper,lower,digit, ]To validate emails, we don't use regex we use elm-tools/parser to validate. If there's a specific format you need your emails to follow, you can easily implement your own validation function.
Enforce that a field contains only numbers.
Enforce that a field does not contains only numbers.
Enforce that a field is at least x characters long
Enforce that a field is at most x characters long
Enforce that a field is exactly x characters long
A validation function wrapper that will only run the ValidationFunc if the provided
if the field's value is not "". If the field's value is "" then this will just return the
field
A field to hold a
Stringvalue, with an error type ofString. SeeField