HOSSUP-4381 Added fix for upgrade error and added setType for form elements.
Merge pull request #24 from timgus/wip-HOSSUP-4381-m25

HOSSUP-4381 Added fix for upgrade error and added setType for form eleme...