pub fn validate_field(field: &str, value: &str) -> Result<(), String>
Checks a field’s value without calling the server or touching files.