I have a free format question to collect contact information at the end of a survey. I am using merged fields to bring in that data if we already have it. My SetValue statements are similar to this:
[% SetValue(qRespInfo_City, GetValue('MergedCity')) %]
If I look at the back-end data, after I pass this script in the survey, I see that the City field is filled out, but when I get to that page in the survey, all the fields are blank. I tried adding a value directive like
value="[% qResp_City %]"
to each input field on the Free Format question, and the values then displayed, but then if I go forward a question and back to the info page, all fields are blank, even questions that don't have a value statement, and even though the Admin module is still showing data stored for all fields. If I backtrack through the survey to the place where I have the SetValue script and go forward again to the info page, the data shows up again.
Am I missing something obvious here, or can anyone help me shed some light on what's going on? Thanks!