/* ========================================================= HIDE SIDEBAR & EXPAND CONTENT ONLY ON BOM PAGES ========================================================= */ body:has(.gs-bom-wrap) aside, body:has(.gs-bom-wrap) .qa-sidebar, body:has(.gs-bom-wrap) .layout__sidebar, body:has(.gs-bom-wrap) .custom-sidebar { display: none !important; } body:has(.gs-bom-wrap) main, body:has(.gs-bom-wrap) .qa-main, body:has(.gs-bom-wrap) .layout__main, body:has(.gs-bom-wrap) .layout__content { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; } Selective Back Button | Experience Community
Skip to main content
Question

Selective Back Button

  • November 3, 2024
  • 1 reply
  • 60 views

Forum|alt.badge.img

I am creating a survey where participants will need to make a decision after being presented a randomly assigned scenario. Participants may want to refer back to the scenario before making their decision. For this reason, I would like to give them a button to the scenario OR a selective back button only for this purpose (i.e: I do not want to enable the back button for other questions). Any idea how to make this work? 

1 reply

Nam Nguyen
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+29
  • QPN Level 8 ●●●●●●●●
  • November 3, 2024

@hollygwu Enable Back Button for your survey because it’s how the feature work. You can hide the button for all other questions by putting this JavaScript in it 

Qualtrics.SurveyEngine.addOnReady(function() {
var prevButton = document.getElementById("PreviousButton");
if (prevButton) {
prevButton.style.display = "none";
}
});