Hi,
Im trying to automatically get the text value from #text21 and put it into the input box #input1. And then submit the form to a dataset. Even though the input box text updates, it ends up being blank in the data set. How can I fix it?
#text21 gets its value from dataset A
#input1 needs to send its value to dataset B
![](https://static.wixstatic.com/media/a27d24_3c1211d62374445b8221c1cc7657e4e5~mv2_d_2269_1672_s_2.png/v1/fill/w_49,h_36,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_3c1211d62374445b8221c1cc7657e4e5~mv2_d_2269_1672_s_2.png)
![](https://static.wixstatic.com/media/a27d24_1125e22205384bbf94cd3fa4200d32fd~mv2.png/v1/fill/w_49,h_28,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_1125e22205384bbf94cd3fa4200d32fd~mv2.png)
Need help new to coding, thanks for your patience in advance;
I have a simple survey: if you select "Yes" from the radio button (see example) then I want to add 1 to my results ("Group 1 Results" id=group1Results.
if you select "No" then nothing happens
At the next question ... again wanting the same thing for an "Yes" selection. add 1 to my results box
*Note.. my questions and radio buttons are coming from a dataset, but the groupResults i'm trying to gather on the fly.
ex. If you were to select "Yes" for all 3 questions then my attention would be that Group 1 Results should now be equal to 3
With some elementary code... I can see that my value is changing, but not updating on my form.
from the console.logs I can see that num increased by 1, but text 38 does not update on the form. It still shows "Heading 6"
Any help will be greatly appreciated.
*Note - Not sure if I should be using a hook or even how to use a hook to get my resolve.