"I might be able to come up with code that could work with a mix of checkboxes and other formfield controls"

Test for the .Type.

TextInput formfield = 70
Checkbox formfield = 71
Dropdown formfield = 83