Vote on Google Sheet
There are some expectations:
- Score column needs to be configured, column A is 1, column B is 2, etc.
- Upvote and downvote columns need to be configured in the same way
- Within your sheet, insert an image into the cells for upvote/downvote. I like to use google image search within the sheets interface to add "up arrow" and "down arrow". You want to use images because you can drag down the corners to autofill the images into new rows as new data is added to the sheet
Hi,
This code worked wonderfully. I'll appreciate if the code can add these features:
Restrict 1 vote per user. So, a single user upon voting for a row, cannot vote again for that row. I'm guessing the following line needs to add another condition for that:
Line31:
const processVote = headerNotSelected && cellNotEmpty && SOMETHING;
Add a pop-up message upon any vote (Up or Down) so that the user knows he has successfully voted.
TIA