Hi everyone,
I know this question has been asked before but I am still having a hard time with it.
I want to have a click counter that shows how many people clicked on a “call button” for each dynamic page. I want this counter to be connected to the right field in my dataset. (that means right row according to page and the right column which is the counter value)
here is the logic, but I just don’t know how to code it.
I will appreciate your help!
let count = //should be the value of clicks that already exist for each item in the data set page.
export function call_click(event) //counter function
{
count++;
$w('#text29').text = count.toString();//so I can see live if it works
}
wixData.insert // I want the counter value to be inserted to the field(coulmn) which called "noc"(number of clicks) for each dynamic page (row) in the data set