How to change the text value of progress bar | XM Community
Skip to main content

Hi Community,
I'm trying to work with progress bar that change the text value while proceeding to each page and not stuck at 0%
image.png

ricsdpl
Try enabling verbose text in progress bar and add the below code in the general>header>source. It will then show you the current progress as you can see below.



Screenshot_2022-12-01-04-52-16-47_40deb401b9ffe8e1df2f1cc5ba480b12.jpgHope it helps!


Hi Deepak, Is there no way to change the value of 0% instead to show you the current progress


ricsdpl
You can use the below code to update the 0% include this in the header>source

Hope it helps!


Hi @Deepak 

Where can I get the code? Can you please share the same? 


@harendra.kumar 

The below discussion should be helpful

 

Hope it helps!


Hi @harendra.kumar , in addition to the discussion Deepak linked which will display the current progress above the progress bar, the other code Deepak posted is below which will update the 0% on the left of the progress bar with the current progress:

<script>
Qualtrics.SurveyEngine.addOnReady(function(){
let str = jQuery('.ProgressBarFillContainer>div'))0].attributess1].value;
let result = str.substr(7);
jQuery('.ProgressBarContainer>tbody>tr>td'))1].innerText= result;
});
</script>

 


Thanks Both, I have one more question related to look and feel of the survey. When I use “Flat” layout them Other specify box comes below that option, is there any way to adjust it in same row? Ex

Other, please specify: --------------------------


Thanks Both, I have one more question related to look and feel of the survey. When I use “Flat” layout them Other specify box comes below that option, is there any way to adjust it in same row? Ex

Other, please specify: --------------------------

Kindly post it as new discussion 


Thanks Both, I have one more question related to look and feel of the survey. When I use “Flat” layout them Other specify box comes below that option, is there any way to adjust it in same row? Ex

Other, please specify: --------------------------

Kindly post it as new discussion 

I did that, please have a look. 


Leave a Reply