I have a survey in where I am asking the user to select up to 8 selections. I want to highlight the options they select and then commit them to the database once hitting “Continue”:
Above you can see that I have got the formatting working. The way it is set up is that the outlined shape has a boolean custom state “selected” which is switched in workflow when the button is clicked.
What I am trying to do now is to identify which boxes have a “Selected” state = Yes and then commit them to the database as the list “Market_Experience” populated by option display names. In the above the result would be a list:
“Stocks and bonds”
“Private real estate limited partnerships”
“Precious metals or collectibles”
“Venture capital”
In the above I am trying to make changes to the “Markets_Experience” list with the four options above based on their shape’s state, but I don’t have the option to do that. I suspect I need to pass data from the shape to the repeating group or something similar, but I am lost.
Ah I see. Try this:
Create a custom state on the page called something like “MarketExperiences”. Make it a list.
Then add workflows when the buttons are clicked to add the current button’s underlying value to the custom state.
Then in place of my “search for” you will merge with your list stored within the custom state “MarketExperiences”.
Re 1: Doesn’t make a difference as far as I’m aware.
Re 2: Once you’ve created custom state, it will automatically be available within the element > state.