Hi,
I have DATA TYPE of QUIZ and DATA TYPE of CATEGROIES which are related to each other.
When a user wants to set up a new QUIZ in the form he fills out, I want to put a REPEATING GROUP of all the categories and when he selects the categories it will save the categories in the DATA TYPE of the QUIZ.
The problem is that I can’t do it.
The repeated category content type is categories
This data source search categories.
In the row of the REPEATING GROUP I added a CHECKBOX whose LABEL is CURRENT CATEGORY NAME
Why can’t I make it so that when a user selects one of the categories then it will be saved in the data of the EVENT?
I created the CUSTOM STATE at the popup level, but for some reason I can’t set it correctly in WORKFLOW
Also, I can’t seem to see the REPEATING GROUP in the ELEMENT TREE (maybe it’s related)?
eliot1
2
hi, make sure:
- Your custom state is a “list of Categories” Type
- You have 2 workflows triggered on the checkbox value changed:
- When custom state doesn’t contain This Category, set state to popup’s custom state :plus item This Category
- When custom state contains This Category, set state to popup’s custom state :minus item This Category
Can you add a screenshot of your element tree to see what’s going on with the RG not showing?
Now I can see the repeating group.
I dont find the :plus item in the workflow.
I try "when checkbox is clicked.
action - set state
eliot1
4
You are almost there 
Value should be (if Selected Categories is type = list of Category):
- Popup Event’s Selected Categories:plus item Current cell’s Category
I cant find the “selected categories” in the value.
system
Closed
6
This topic was automatically closed after 70 days. New replies are no longer allowed.