Highlighted component (value stored as page variable) not displaying as selected when changing pages

Hi, we have a survey app that asks users to select a value from a list of buttons in a container. When an answer is selected, we change the styling on the chosen button to green. There are multiple pages, and we store the answer value in a page variable. When the user browses back to a previous page, the chosen answer is still highlighted, but when the user goes forward to a page where they have already chosen an answer, the chosen answers are not highlighted anymore. Is there a way to resolve this without converting every page variable to an app variable?

This is best practice. One unique variable instead of multiple page vars for each page.

1 Like