Progress Bar is not working

when i add a progress bar, & Set the value of it. It is not showing the results of value, and also showing the blank results in publised website

1 Like

Hey Vishal,

Please reply with a link to your site and a snippet of the code you are using, so we can take a closer look.

In the meantime this article might help you out.

Corvid: Working with the Progress Bar Element

Thanks!

Dara | Corvid Team

I’m having the same issue. Looks fine on β€˜Preview’ mode, but does not work on the Published site.

I’m using MultistepForm, and have a progressBar element on each step.

site: https://www.nuhom.co/makeoffer

code:
$w( β€˜#progressBar1’ ).targetValue = 100 ;
$w( β€˜#progressBar2’ ).targetValue = 100 ;
$w( β€˜#progressBar3’ ).targetValue = 100 ;
$w( β€˜#progressBar4’ ).targetValue = 100 ;
$w( β€˜#progressBar5’ ).targetValue = 100 ;
$w( β€˜#progressBar6’ ).targetValue = 100 ;

$w( β€˜#progressBar1’ ).value = 17 ;
$w( β€˜#progressBar2’ ).value = 33 ;
$w( β€˜#progressBar3’ ).value = 50 ;
$w( β€˜#progressBar4’ ).value = 66 ;
$w( β€˜#progressBar5’ ).value = 83 ;
$w( β€˜#progressBar6’ ).value = 100 ;