Change currency of currency field
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
I'd recommend to use a number field instead and specify the currency in its title dynamically based on the selection, say, this way:
I'd recommend to use a number field instead and specify the currency in its title dynamically based on the selection, say, this way:
Code: Select all
fd.field('Country').change(function() {
if (fd.field('Country').value() == 'USA') {
fd.field('Number').titleText('Total (USD)');
} else {
fd.field('Number').titleText('Total (EUR)');
}
});
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests