Van Westendorp Pricing Study - Back Button | Experience Community
Skip to main content
Solved

Van Westendorp Pricing Study - Back Button

  • Jan 28, 2025 9:59 PM UTC
  • 6 replies
  • 115 views

Forum|alt.badge.img+1

Hey!
I am conducting a Van Westendorp Pricing Study on the platform, and when someone answers the four questions regarding what they consider "cheap," "ideal," "expensive," and "too expensive" without logic (for example, the "too expensive" value being lower than the "cheap" value), a message appears asking them to use the Back Button and re-enter the information. However, the Back Button option does not appear (please see the screenshot attached), only the Next button. Could you please help with this? 

Thanksss

 

 

Best answer by Mannila

To show the Back Button only on specific pages (e.g., when illogical input is detected), you can use custom JavaScript.

  1. Add JavaScript: In the Look & Feel section (or under Question Settings > Add JavaScript), add this code:
Qualtrics.SurveyEngine.addOnload(function() {
var illogicalPricePage = "YOUR_PAGE_ID"; // Replace with your page/question ID.
if (this.getQuestionText() == illogicalPricePage) {
$(".BackButton").show();
} else {
$(".BackButton").hide();
}
});
  1. Test: Ensure the Back Button only appears on the specified page. Check for conflicts if it’s not working.
View original

6 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Jan 29, 2025 11:37 AM UTC

Do you have these questions in different blocks? If yes, then the back button isn’t available once you move to a different block. 


vgayraud
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+68
  • QPN Level 8 ●●●●●●●●
  • Jan 29, 2025 12:05 PM UTC

Or did you deactivate the back button?

 


Forum|alt.badge.img+1
  • Author
  • Jan 30, 2025 1:07 PM UTC

Hi folks, 

 

Thank you for your reply. 

 

The “Back Button” is active

 

And I only have question in one block. The other blocks are from the Van Westendorp Pricing model

I don't need the Back Button on the entire questionnaire. It's only necessary on the page where it shows that the respondent entered the prices illogically. That way, if I only manage to insert the Back Button on that page (so the respondent can correct the values), I would already be very satisfied. A curious fact is that it was showing up, but after a few more tests, it stopped appearing. 

 


Mannila
Level 4 ●●●●
Forum|alt.badge.img+14
  • Level 4 ●●●●
  • Answer
  • Jan 30, 2025 2:23 PM UTC

To show the Back Button only on specific pages (e.g., when illogical input is detected), you can use custom JavaScript.

  1. Add JavaScript: In the Look & Feel section (or under Question Settings > Add JavaScript), add this code:
Qualtrics.SurveyEngine.addOnload(function() {
var illogicalPricePage = "YOUR_PAGE_ID"; // Replace with your page/question ID.
if (this.getQuestionText() == illogicalPricePage) {
$(".BackButton").show();
} else {
$(".BackButton").hide();
}
});
  1. Test: Ensure the Back Button only appears on the specified page. Check for conflicts if it’s not working.

Forum|alt.badge.img+1
  • Author
  • Jan 30, 2025 2:57 PM UTC

Hiii Mannila!

 

Thank you very much. unfortunately it didn't work :(


vgayraud
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+68
  • QPN Level 8 ●●●●●●●●
  • Jan 31, 2025 5:58 AM UTC

Do you have custom CSS in your theme or in your survey look & feel that could be hiding that button or making it otherwise invisible?