on 06-14-2010 7:11 AM
Hi Guys,
I have a question that hope you guys can help me with. I have a table in a form, it has a column displaying price and another column contains the currency. I need to display the price column with the currency sign depending on the currency column. It is possible that different row might have different currency. How do i bind dynamically the currency to the price column?
I am using Lifcycle designer version 8.01.
You should do it at context level. Create a different attribute for price with currency field , and fill the data by concatenating the price and currency symbol based on your currency. Now bind this attribute to your Price column.
Regards
Ravindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Otto,
Thanks.
Let me just confirm what you suggesting...
1. have both the price column and the currency column.
2. Use javascript to read the currency column and based on that dynamically set the pattern for the price column. And i believe i need to set the locale as well to get the currency symbol displayed correctly?
I am new to scripting, may i know where is the best place to place this script, which object and which event?
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.