How can I save answers to questions on multi-state form using this code?

This code I’ve used works to move through the states as it should but it’s only submitting data from radiogroup1.

I can’t get this new code to work correct & when I do submit a form it doesn’t submit it to the submission table either.