Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Calling upon a field from a prior question

Is there a script which will allow me to call upon content from a question later on in a survey?

Suppose I want to copy the content of the Header 2 field from a question to another place in the survey, is there a script that'll allow it?

For example, something like [%qName,Header2%].

A ListLabel script is a workaround but for my specific purposes I would like to avoid it.

asked Mar 15, 2018 by Colin Linerode Bronze (1,625 points)

1 Answer

0 votes
The headers and such aren't stored in variables, so there's no way to references them in a script. The scripts are there primarily to use answers from previous questions and things that aren't fixed. For headers, usually copy/paste is the way to go.

You could use a common list with ListLabel() referencing them and use that in place of the headers, but absent a way to store and recall them, I don't know of a way to do it.
answered Mar 15, 2018 by Kenneth Fairchild Bronze (3,920 points)