Progress Bar Verbose Text Throughout Survey | Experience Community
Skip to main content
Solved

Progress Bar Verbose Text Throughout Survey

  • Apr 17, 2020 7:06 PM UTC
  • 7 replies
  • 180 views

Hi - I am trying to change the label on the progress bar from "Survey Completion" to "Survey Response Progress". I have verbose text selected and have placed the following into both the header and footer fields to try to get it to work

The issue is that "Survey Response Progress" will show up on the first page but the remaining pages of the survey revert back to "Survey Completion". How do I change the script so "Survey Response Progress" shows on the progress bar on all pages of the survey?

Best answer by TomG

Put it inside the addOnReady function:

View original

7 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • Apr 17, 2020 9:36 PM UTC

Put it inside the addOnReady function:


  • Author
  • Apr 18, 2020 5:01 PM UTC

TomG Thank you, this worked.


  • Author
  • Apr 18, 2020 5:14 PM UTC

TomG Hi Tom, I spoke to soon. I added what you suggested to the addOnReady function for each question and it worked then I saw that when I hit the back button it stopped working and went back to the default language. I went to add it in again and received this Alert - Invalid JavaScript! You cannot save until you fix all errors: Unexpected token < - Any suggestions?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Apr 18, 2020 5:29 PM UTC

That error means you have a syntax error in your JS.
Why did you put it on every question instead of in the header?


  • Author
  • Apr 18, 2020 5:34 PM UTC

TomG I had it in the header originally, before I submitted the question, and it was only working for the first page. When I hit next it reverted back to the original language. I added the following and received the error, do you know what should be changed?

Thank you for your help.


  • Author
  • Apr 18, 2020 5:36 PM UTC

TomG I tried it again and it is working, not sure what is going on. I will keep an eye on it and reach out if I see it revert back again. Thank you again.


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Apr 18, 2020 5:37 PM UTC

I had it in the header originally, before I submitted the question, and it was only working for the first page.

but it wasn't in the addOnReady function in the header.
when you add JS to a question, you don't include the