Yes, you can use dictionary to define values e.g.
Field(
'name',requires=IS_IN_SET({'key1':'label1','key2':'label2','key3':'label3'})
)
David
On 29 říj, 02:30, pierreth <[email protected]> wrote:
> On 27 oct, 23:10, mdipierro <[email protected]> wrote:
>
>
>
> > Field('name',requires=IS_IN_SET(('value1,'value2',value3')))
>
> This is cool. Can I have valuex in the db while presenting something
> else to the user (I want to value in my db to be always in English but
> I need to translate these values for the user) without having to do a
> conversion function that will translate values send my the form to
> English?