Hi there
Would someone be willing to offer me some help?
I have a public page that is going to be sent to clients to ask what they think of the brand based on their experience—this collects a star rating (using a ‘Ratings-Input’ element’) and an email address, which are saved to a database.
There is then a private page that is only going to be seen by the Admin and will only display the average rating and total rating of the website using the ‘Ratings Display’ element.
However, I am struggling to find (or write) code that will;
a) Calculate the average and total ratings from the ‘customerRatings’ field,
b) Display this information in the ‘Ratings Display’ element.
I have found Wix demonstrations that allow you to copy and paste code into the page code, but I cannot seem to adjust these to get them to work.
Would someone be able to point me in the right direction?
Kind Regards,
Jayden