Edit link that when clicked takes user back to a block within the survey | XM Community
Skip to main content

I’ve been wanting to try to figure out how to create an Edit link from a Review page I make myself.

I pipe text into questions to create a review page so that I can have more control over it and use logic to dynamically display those pieces which have been entered. 

I would like to be able to have an “Edit” link redirect the user from my review page back to the specific block to edit, then ideally, back to the review page to submit. Skipping any pages in between that didn’t get edited but the previous data is still preserved.

I found a way to implement the tracking of if an external link is clicked, to know whether to branch the survey or not and duplicate the survey blocks I want, but I haven’t figured out how to get that link to actually work linking back to a previous block in the survey. 

In other surveys, I’ve had success portioning out a survey into multiple steps for different users to complete with custom retake links with a section appended. However, I don’t want a retake link, since the original submission is still in progress. I attempted to structure the Edit link similarly to how I’ve done the custom retake links, but when I try it in preview it just spins and when I tried it on the published survey, it just takes me back to the beginning of the survey.

Question with the link and ID for tracking.

Embedded data for tracking link click, setting an embedded data URL and branching based on click and URL. 

Not sure if anyone else has tried to solve for this. Hoping more brains can help me figure this out.

@courtrc Did you already think about working with table of content? 🙂

This might require some redesign (e.g., splitting into single question blocks) but would be some standard approach.

Best

Christian


@chackbusch I’ve tried this before and didn’t like the end result. So opted to look for a different solution. 


@courtrc Mhhh, the only idea I would have is to somehow work with query strings, embedded data and branch/display logic. 

What exactly did you not like about table of content? Maybe there is some way to adjust this feature to your need.

Best

Christian


@chackbusch Well I want the editing to be flexible and only make them go through the steps they need to edit and not all of them if they don’t need to edit everything. Per your suggestion I did add the table of contents and it just functioned weird and didn’t entirely make sense for what I was hoping to achieve. Maybe I’ll give it another try to see if I can better understand how it’s supposed to function and see if it works. But I only want them to have to go through the step they need to go back and edit. Granted, steps 1 and 3 can be changed alone, but if step 2 is changed, most likely step 3 will need to be changed since step 2 determines step 3. But I could control that with the blocks I display if I were able to link back to a previous step then determine which blocks to display with branching logic.

I guess I could try to use a radio question and maybe a multi select instead… but that seems clunky when a link would be cleaner...

I’m back to trying to figure this out because I have a review page but before that I have a piece of embedded data calculating a total from the step before, and with that survey flow element, the back button disappears so they can’t even use the back button as an alternative. 

 


Leave a Reply