Factor out select_form method==POST