Back Button | XM Community
Skip to main content
This is basic feature where we want to add back button throughout the survey but having any branch/logic in between two blocks will disable the back button. This is something Qualtrics development team needs to work on. What if I want to show some values basis on some logic applied on a page and then on next page I need to show values and let the respondent go back to edit values if respondent want to. But this is not possible.



Is there any other hack to achieve it?
You can display the original block again (add it to the survey flow a second time) and the previous answers will be pre-populated.



Other than that, to the extent possible you can design yoru survey to avoid survey flow logic between blocks through the use of display logic, skip logic, and JavaScript (for setting embedded variables).

TomG - I have to use survey flow to create embedded data to pass the category response in English if the survey responded in a translated language. I am placing a screenshot here for your reference. I lose my back button in the survey if I do the above step. I see in your response above, you have mentioned something about Javascript (for setting embedded variables). I am not sure if that will help my requirement. Can you please assist?
Screen Shot 2020-12-27 at 9.15.13 PM.png


Based on the image you posted, it isn't clear to me why you need to set an embedded variable because the survey is translated.
Anyway, you can pipe the selected choice into the JavaScript to set the embedded field:
Qualtrics.SurveyEngine.setEmbeddedData("NCAT","${q://QIDxx/ChoiceGroup/SelectedChoices}");
where QIDxx is the QID of the "What can be improved?" question.


TomG - Appreciate your inputs. To give a background, I have a survey in two languages. One in English and the other in Arabic. What I am trying to achieve using Embedded data is to capture the response in English even if it's taken in Arabic and this embedded data i need to pass into Salesforce. Let me try to see the step mentioned above works for my requirement.


TomG - I am still not getting response values into the embedded data. I did call the embedded data in the survey flow and the JS was inserted in one of the question in Intro + KPI block
image.png


https://www.qualtrics.com/community/discussion/comment/32928#Comment_32928Post your JS.
By the way, if you don't need the values for piping within the survey, you can save them to embedded data fields after the last block (Categories)


TomG - Thanks for your advice. since i am not piping within the survey, I passed the embedded data after the last block and it worked as expected. Thanks a ton.


Leave a Reply