Added form field type enum
Extracted form field display code
Implemented /room config submit for saving room configuration