FormBuilder refactor - method to get Input Field type