Sep 16, 2021 06:34 AM
Hi team,
Building a similar clone as to the Producthunt upvote feature. I would like to know how I can use the counter in airtable fields. As in when the user clicks on the Frontend the counter should get updated on the frontend as well as the record/database.
Also a limitation in doing this the following way
is one can vote only through submitting the form. Thats, not the whole idea if I just wish to upvote the content I needn’t fill the whole submission form for it.
Any suggestion would be helpful here
Almas
Sep 16, 2021 07:11 AM
Hi @Almas_Sayyed ,
The best I think is to send in the frontend the sum of votes you receive while each vote has to be a separate record. In that case you also need to create a condition that will check if the vote will be included in the calculation since when user downvote.
I am not sure if this is the best option you have but it could work.
Sep 16, 2021 07:22 AM
That’s some complex workaround not so sure as the frontend UI should note the click . And also it’s not like a button/CTA click. Thanks for looking into this @Dimitris_Goudis