How do I change the element type but keep same field name?