Hi
In some of my tables I have a currency field and I use custom formatting to add the currency symbol in front of the currency value. Now I need to support different currencies, but I need to keep the currency field numeric to be able to do calculations on it.
The only way I thought was to add another field, currency_symbol, to the table and then the person can select the currency symbol from a predefined list, radio buttons.
When I try to format the currency value in view mode through a custom formatting function, only the value of the currency field is send to the function. Is there a way to reference the currency_symbol field in the custom function to be able to add the proper symbol in the resultant string to be send back? Or is there another way of doing this?
In some of my tables I have a currency field and I use custom formatting to add the currency symbol in front of the currency value. Now I need to support different currencies, but I need to keep the currency field numeric to be able to do calculations on it.
The only way I thought was to add another field, currency_symbol, to the table and then the person can select the currency symbol from a predefined list, radio buttons.
When I try to format the currency value in view mode through a custom formatting function, only the value of the currency field is send to the function. Is there a way to reference the currency_symbol field in the custom function to be able to add the proper symbol in the resultant string to be send back? Or is there another way of doing this?