create_form_items common function in connections