connected the forms to the widget code generator.