I have a multi-page form to create a Database Object. On one page, I have a Repeating Group with its Cells set for Radio Buttons which displays all the Options from an Option Set. When the User selects an Option, I want to set a Custom State holding which Option was selected. The Custom State is used to control the visibility of other Elements on that page and also to save to a field in the Database Object when the User navigates to the Previous or Next page.
Any thoughts on how I can accomplish this? The template I’m using has this architecture working for the Repeating Group but it is using a larger UI element that I would like to replace with Radio Buttons.
Hi there, @royjay… if I understand your post correctly, what you described should be as simple as using the An input’s value is changed workflow event to set the custom state (which I assume has a state type of the option set) to the current cell’s option when a radio button is selected. Have you already tried that?
Hi @mikeloc, as always, thank you for your quick reply. That WF was easy to setup (obviously), but for some reason, when I debug it, the Parent’s Group’s Value is set the Option in the first cell, no matter which cell is selected. I’ve tried setting the Custom State to both the Current Cell’s Option and the Parent’s Group item.
Hmm, now that I think about it, why are you using a repeating group for the radio buttons (if that’s what you are doing)? You should be able to have the radio button element display the options from the option set, and when a radio button is selected, set the custom state to the radio button’s value. Am I totally misunderstanding what you are doing?