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
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.
THis example could help you to understand how to work with radio-buttons…
https://russian-dima.wixsite.com/meinewebsite/little-quiz