Piping a Question Name in Javascript

Would like to retrieve the value from a previous question into a free format variable. The previous question's name will be somewhat dynamic (the format is "county" and state abbreviation i.e. "countyWY").

I have all the names saved in an array, but when I attempt to call the values I either get errors or 0. Saving the question name to a string called "str1" and attempting variations on [% str1 %] and SSI_GetValue(str1) haven't worked.

Any help would be appreciated. Thanks!

Resolved
3 replies