Dashboard 2 widgets

I have a dashboard with 2 form widgets
I tried to do something like this
when value of the field “qty” on widget 1 is changed then it should update value of the field “counter” on widget 2.