Replace value of a field in database

Hi All,

So I have 2 inputs: A and B.
And I have a type: “Sum” (type number) which is the sum of Input A’s value + Input B’s value.
Then I have a field in user: Total value (type “Sum”)

When the page is loaded “Sum” is preset to 0.
Till here it works fine.

All I want to achieve now is to update a record in the current users’ database with whatever the User sum’s value?
Also, wherever the sum changes, this should be reflected in the user too.
I have tried a lot of things but I can’t make it work.

This might be an easy fix but I have been stuck here quite some time. I am sure I am missing something basic.

This topic was automatically closed after 70 days. New replies are no longer allowed.