Set a default type for input fields