Change value of progress bar manually and show it in verbose text | XM Community
Skip to main content

Hi all, I want to change the number on the progress bar of some pages manually. I am able to move the bar so that it represents the number that I want with the code below, but it the text in the progress bar doesn't update.
jQuery("div.ProgressBarFill").css("width", "80%");
I have the following code on the look and feel header, so that the progress bar shows the number. With this, the number that it shows is the one that qualtrics calculates, not the one that I impose with the code above.
Qualtrics.SurveyEngine.addOnReady(function() { 

jQuery("table.ProgressBarContainer tbody tr td:eq(0) label").text(jQuery("#ProgressBarFillContainer span").text()); });


Does anyone know what to change so that the text in the progress bar updates accordingly?
Thank you!

jQuery("table.ProgressBarContainer tbody tr td:eq(0) label").text("80%");


Leave a Reply