I have an array within my Session Storage named Response with two fields (Question and Answer).
There isn’t a way to add to the array fields in Session Storage, it only has a Set
action.
The Array component does have additional actions like Add item
, but there doesn’t appear to be a way to add fields to the array, so what’s the best way to populate the array in Session Storage?
I tried @ben’s solution, but the syntax for populating the array doesn’t work.
I am able to get it to populate the array with a static values
[{"Question":"CompanySize","Answer":"value"}]
I cannot figure out how to add dynamic values. I’ve tried the follow way, without success:
. [{"Question":"{{steppersurveyv2.companysizequestion1.value}}","Answer":"{{steppersurveyv2.radiogroup.companysize0110.value}}"}]