Looks like locale is exposed up to the sub-form level. For demonstration purposes, I have a sub-form with amount, tax, and total, I can toggle the locale on the click event of a button called 'localeBtn'.
// form1.page1.subform1.localeBtn::click - (JavaScript, client)
if (form1.page1.subform1.locale == "en_GB_EURO") {
form1.page1.subform1.locale = "en_US";
}
else {
form1.page1.subform1.locale = "en_GB_EURO";
}
USD en_US
EUROS en_GB_EURO
POUNDS en_GB
RENIMBI zh_CN
Steve
No comments:
Post a Comment