I try to sum two values coming from fields on my website in a third column called score = gene + frequence which are all numbers and give a score to the personn who made the test.
I tried to add a hook before insert and the code looks like that in data.js :
I think this is the exact same challenge I’m facing … did you sort it? …
I’ve added a ‘sum’ column to my dataset called ‘MemberGreenPoints’ as you can see below, and am just wanting to add some code that will automatically add the sum of the ‘Biking Points OandA’, ‘Coffee Cup’, ‘Economic OandA’ and ‘Water Bottle OandA’ values.