pub fn require_text( field: &str, value: &str, max: usize, ) -> Result<String, AppError>
Requires a non-empty, trimmed text of at most max characters.
max