array support for addfieldtemplate