pub fn validate_string_len( field: &str, value: &str, max: usize, ) -> Result<(), String>
Validate a string field does not exceed the given max length.