Signature for validating a form field.
Used by FormField.validator.
typedef String FormFieldValidator<T>(T value);