Change survey flow with click of a button and embedded data | XM Community
Skip to main content

Hello,
I have created two buttons with java script in my survey:

  1. Save & continue

  2. Save & continue later

When a respondent clicks on the button "Save & continue later" I would like them to go to a customised end of survey block, providing them with information when the survey closes and how they can continue the survey.
I understand I will have to work with branching here. However, my question is, how can I embedd the click of the "Save & continue later" button in the survey flow and let this action (clicking the button) go to the specific block?
As always, thanks so much for any advice!

Hi KatjaT ,
Assumptions:
For this to work you have to create one question in one block.
You can declare a "flag " embedded data in survey field at the top of the survey.
And when "Save and Continue " is clicked you can update the "flag" embedded data to "1" and to click Next(Using JS).
Now in survey flow you can check the value of "flag" embedded data and if it equals to "1" ,

you can redirect the survey to chosen link through END of the survey element(https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/standard-elements/end-of-survey-element/#CustomizationOptions) .

image.pngYou have to repeat this process for all the blocks.
There is one other method called "Table of content"(https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/advanced-elements/table-of-contents/) .
It allows you to move through Survey flow blocks.
Hope it resolves your query😊!!


Hi there, you can set an Embedded Data field value when the button is clicked and configure Branching in the Survey Flow around that Embedded Data field value existing or not, but I am not sure it will work the way you hope.
If you are thinking of using an End of Survey element in the Survey Flow, this will record the response and a respondent will not be able to access it again except through a retake link. If you are creating a Block in the Builder with just a Text/Graphic question that contains instructional text and using Survey Flow branching to direct respondents to see it, respondents will then be unable to use the Previous button to go back in the survey and when they re-enter the survey, they will return to the place where they left off, which will be the instructional text.
You might be interested in checking out a Table of Contents, which is helpful for longer surveys that respondents might need to take in multiple sittings. It has an introduction page that respondents can return to at any time and instructional text can be included there.
It might also be good to emphasize in any communications that the link will take respondents back to the last place they left off. In our reminders we usually include the text "If you have started the survey previously, you can use the below link to pick up where you left off."


Hi @qualtrics_nerd and @Tom_1842,
Thanks so much to you both for providing your advice. I'm not as much of a programming and Qualtrics person as yet, so I think the best option would actually be the table of contents. I will be using personalised links to distribute the survey. I hope the table of contents will allow respondants to come back to the survey any time while it is open and continue with the questions they have not completed yet, while saving the answers of the questions they have completed.
Thanks again to both of you!


Leave a Reply