accept "0" as input for required int fields