No, if there is no locality name or wages, then you do not need to enter anything in those fields, just leave them blank.
If there are wages in the locality field of your W-2, then I would check with your employer to determine what locality those taxes were submitted to.