Is there any other hack to achieve it?
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?
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
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.