A form-level validator for cross-field checks.
typedef FormValidator = String? Function(FormState form);