bugfix - getFormFieldsOfType() should only return formfields