I have a tick box for countries, in which the full names are displayed (multi value field).Within my views, I would like to display the corresponding ISO abbreviations.
Do I have to enter Iso codes and names into a form, set up a view and make a lookup on this view?
Or is there another more simple way to ‘translate’ the country names into their corresponding ISO codes within a view?
Thank you for your help in advance,
Leini
Subject: ‘Translate’ values within a view
just use the | method.
fill your list with:
Netherlands | NL
Belgiun | BE
Australia | AU
and so on…
Remeber your fields contains now actualy only the ISO code. So if you want to translate back you have to write a complex @if formule.
So i think a better way is to write a @dbLookup that fills the ISO field.
Subject: RE: ‘Translate’ values within a view
OK, you might be right… I tried to ‘translate’ by using an @if formula, but I failed. The problem (for me) are the multiple values in all possible combinations…
Thanks for your help
Leini