The community member is trying to handle the visibility of boxes and is wondering if it's possible to have a button change the value of a variable. The comments suggest that it's currently impossible to have a button change the value of a variable. The community member has a one-page form with three sections and wants to show only one section at a time, using a button in each section to hide the current section and show the next one. The comments suggest using an HTML embedded script or exploring alternatives like accordion, tabs, or collapsible elements. However, the community members are also warned that anything done with a button may cause accessibility problems.
Hello, I am trying to handle the visibility of boxes, but I'm having trouble finding a way to assign to the variables I've set up. Is it possible to have a button change the value of a variable?
I have a one page form that I'm breaking into three sections. I want to only show one of the three divs at a time. The idea is to have a button in each section that, when pressed, hides the div it is in and shows the next one. My initial thought was to bind 'show' to a variable and then modify that variable. Is this best solved via an html embedded script?