Hi,
I am having a challenge where I am creating a wizard to create a quote, and getting the options to work in the way i want to, what i want do is:
- Select Overall Service (Option Set)
These are then displayed to the user through an RG Group -
I then have a custom state, and then depending on the custom state value, i show a further RG group, with options relevant to the overall service selected. (basically a sub-category)
E.g if a user selects FEA Analysis, the user an RG group with the relevant options:
The problem is, because i have 5 separate overall services, i have created a seperate repeating group for each of those 5 services with corresponding options, i then have custom states for each of those RG groups, and use them to trigger when they should be displayed or not.
The challenge with this approach, if that at the end when they reach the end of the workflow, i am storing the value of the custom state in the database. For the first group, which just shows 5 services, this is fine, as there is only one custom state. But i am struggling to be able to save the correct sub-category, because each of those has their own custom state.
See below some images to hopefully show what i mean:
-
Overall Services - 1 option set - 1 RG Group - 1 Custom state -
-
Sub categories 5 option sets-5 RG Group - 5 Custom States. When i go to create this in the database, i can only reference the custom state of the overall services in step 1 -
What i wan’t to do is save the specific service they actually want but because i have the states set at each repeating group, i am not sure how i am going to get the state value, because i won’t know which one has been selected:
Not sure if this makes sense, but hoping someone can help. I guess the challenge summarised is that i have Categories, based on that category, it then displays other categories, but i dont know how i can do this without creating different option sets and then lots of different custom states.
Any help would be appreciated.