def get_select_options(form):
    """
    Return a dict or tags and descriptions based on the SELECT field in the
    given form.
    """
    tags = {}
    selects = []
    for input in form.inputs:
        if not input.attrib.has_key('type'):
            selects.append(input)
    for select in selects:
        tags[select.attrib['name']] = []
        for child in select.getchildren():
            tags[select.attrib['name']].append(child.attrib['value'])

    return tags