I just tried the function CodeListTags, to get a list of all EditFields and i think it has a little bug in it.
I changed the EditFields Demo, in the Template Editor i entered only a checkbox followed by a MergeField
If both are in the same line (paragraph) i get both Fields in the List (showing FORMCHECKBOX and COMPANY)
if i put one of them into a new paragraph, i get only the Field which i have specified in the CodeListTags (parameter Code)