I need to do something that appear relatively simple but for some reason I am missing something.
I have set up a progress bar. Firstly I want the numbers to show on the progress bar of the goal number and the current number achieved.
Secondly I want to link the progress to the number of items on my dataset. I have spent an entire day reading how to do this and nothing is working! Any help greatly appreciated.
In order to set up a goal number of a Progress Bar element you’ll need set its targetValue property.
In order to get a total number of items in a dataset you can use getTotalCount() .
These references will be useful for you:
https://www.wix.com/corvid/reference/$w.ProgressBar.html#targetValue
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#getTotalCount