jr:choice-name()
returns the label value, in the active language. I am not aware of a way to get a label of a non-active language using that function. See the following two posts for more details. The first one has a workaround described in the thread.
I have a multilingual form (attached) and I need to retrieve the label of the "markets" field always in English.
I have used a calculation field as below:
jr:choice-name(${MarketName},'${MarketName}')
This works well when the active language of the form is in English. But when I collect the data in another language it doesn't work (as stated in the documentation . Is there a way to retrieve the label of a non-active language?
SMPMS_20190726_0220.xls (57.5 KB) MyCom.csv (284 Bytes)
1. What is the issue? Please be detailed.
When changing the form language, jr:choice-name() does not appeared to be re-evaluated.
Swiping backwards and forwards is enough to update calculations that are triggered by a variable, but calculations without implicit or explicit triggers are never updated.
When expressions are evaluated suggests a number of points when expression will be evaluated, but we've noticed when passing static values into jr:choice-name() sometimes a calculation could go t…