No problem ... you need value()
to read the first answer, and preset()
to set the first answer for the second question.
If page 1 asks the text input item AB01_01, for example, and the answer should be presented on page 3 (question CD01), then put this PHP code on page 3 above the question CD01:
$answer = value('AB01_01');
put('CD01_01', $answer);
You can also use this on selections etc. However, you will need at least one line per variable, or - if yu have more than 3 variables - you should do it with getItems()
, id()
and a FOREACH loop.