add preprocessInputField method to override field values