beh, hai provato a settare il size come setti il tipo o il name?
oField.setAttribute("size","10");