def get_elements_of_type(xform, field_type):
    """
    This function returns a list of column names of a specified type
    """
    return [f.get('name')
            for f in xform.get_survey_elements_of_type(field_type)]