Good morning
I'm populating a list with a service, I need to do some calculations based on data returned in each record.
Example:
For each record returned by the service I have:
label1 mapped to responseParameter1
label2 mapped to responseParameter2
so my results go:
record 1:
label1: "foo"
label2: "bar"
record 2:
label1: "big"
label2: "small"
This works.
I need for each record to have label3, which is the result of a calculation involving labels 1 and 2. For example, with simple concatenation:
record 1:
label1: "foo"
label2: "bar"
label3: "foobar" < computed
record 2:
label1: "big"
label2: "small"
label3: "bigsmall" < computed
Is there a way of doing this that takes advantage of appery's inbuilt looping?
(Mapping both parameters to a single label seems allowed by the UI, but I dont know how to access the values in javascript).
Thanks for your help,
John