I was wondering if anyone can help. I have created a RG filled with option sets as part of a popup. I am looking to display the selected cell from the RG below the RG so have created a custom state. The only thing it was displaying was ‘yes’
I have attached a screenshot, ideally i am looking for a user to be able to select a task from the RG and for that task to appear below the RG.
Any help would be greatly appreciated
Hi there, @dcor123… if I understand your post correctly, what you described should be pretty easy to do. If you have a custom state with a state type that is tied to the option set, then simply set the custom state to the current cell’s option when a task is clicked in the repeating group. Finally, set up the element below the repeating group to show the custom state’s display, and you should be good to go.
Hope this helps.
Thanks Mike, I will try that now and let you know.
Really appreciate the help
Hi Mike that worked! Thanks a lot
The above screenshot is from the edit view…
Hi Mike one more question that i am having difficulty with in terms of states. I am trying to have the selected options (call, meeting etc) to display in green (as when they are created) in the edit mode, likewise for the priority and difficulty settings. I have created a state ‘edit mode’ to use when editing the popup but the options selected will not display, the only things displaying is what is read directly from the db. I apologise if this is unclear but i am not sure how to explain it.
If I understand that question correctly, I think you need a field in your data type where you store the option (call, meeting, etc.) from the custom state when you initially create the item. Then, you could use a condition on the element that displays the options that says when the aforementioned field’s value is the current cell’s option, change the color to green. Does that sound like what you are trying to do?
Thanks Mike, yes exactly that. In my datatype I do have a field linking to an option set but Im unsure of how to create the custom state. Do I need to create one for each entry in the option set?
Can you elaborate on what you mean here? “from the custom state when you initially create the item.” I have created the field in the datatype linking back to the option set, the issuing i am having is when selecting to edit the pop up, the text elements are read back fine from the db but the (meeting, call, CPD) etc which was selected at creation of the job is not displaying, same goes for the selected difficulty and priority.
No, you only need one custom state. When you create the custom state, set the state type to the option set.
From the looks of your screenshot, I would move the last condition to the top, and set the data source to the thing that is being edited. Then, change the green condition to something like when the thing’s BAU is the current cell’s BAUA, the background color is green.
That worked mike thanks man!
This topic was automatically closed after 70 days. New replies are no longer allowed.