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

Van Westendorp Pricing Study - Back Button


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 ●●●●●●●
  • 2028 replies
  • January 29, 2025

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 5 ●●●●●
Forum|alt.badge.img+48
  • QPN Level 5 ●●●●●
  • 357 replies
  • January 29, 2025

Or did you deactivate the back button?

 


Forum|alt.badge.img+1
  • Author
  • 2 replies
  • January 30, 2025

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+13
  • Level 4 ●●●●
  • 37 replies
  • Answer
  • January 30, 2025

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
  • 2 replies
  • January 30, 2025

Hiii Mannila!

 

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


vgayraud
QPN Level 5 ●●●●●
Forum|alt.badge.img+48
  • QPN Level 5 ●●●●●
  • 357 replies
  • January 31, 2025

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?


Leave a Reply