Hi,

I have the following map:

    countries = {
        'DE': T('Germany'),
        'ES': T('Spain'),
        'IT': T('Italy'),
        'US': T('United States')
    }

Which I am using to create a form, with the following entry:

TR(T("Country:"),            SELECT(*countries,        _name="country",     
     requires=IS_IN_SET(countries)))

My problem is that the form is not showing the real names ('Germany', 
'Spain', ...), but the codes ('DE', 'ES', ...). How can I make sure that 
the real names are shown, *but* the code is returned when selected?

Thanks
Daniel

-- 



Reply via email to