pub fn limit_text( field: &str, value: &str, max: usize, ) -> Result<String, AppError>
Trims a text and checks it is at most max characters.
max