Increment an option set by 1

Hi,
Trying to figure out if there is a way that an option set can be incremented.

I have a popup with 5 different types of groups and each group is visible according to the option set I have set up (i.e. when the popup’s custom state is “intro”, the intro group is visible). Within each group there are sub groups. The number of sub groups vary from group to group but they get navigated through one by one. Which subgroup is shown is just based on a custom state that is of type “number”.

I know I can just change my groups to be navigated in the same way as my sub groups (i.e. by number) but I would prefer to have them be tagged to the option set for reasons that are too long to explain here.

I tried this:
image
Where order is an attribute of the option set of type “number”

My guess is this doens’t work but thought i’d ask anyone.

Thanks
Paul

What is the ‘type’ of the scPopupPage custom state?

I just figured it out. I have to do it through filtering the option set options

1 Like

Thanks for your help here. The custom state type is the option set

Yeah, I thought that was what you were trying to do, but just wanted to check i understood correctly…

but that’s exactly the way I was going to suggest… glad you got it working :slight_smile:

1 Like

Glad to know we align there. Thanks again

1 Like