I’m in need of help with going to the “next item of a list”. I’ve built most of the functionality using the help from observing previous forum posts, but no where i can find seems to have the solution to my current issue.
In the URL parameter I’m passing data which contains a list , with the key “i-id”.
Here I have a group containing what is supposed to show the list items , broken down 1 by 1, and navigated using Custom States via the “Next” and “Back” Buttons.
As you can see, the first part of the expression involved getting the list from the URL, and getting the Item number is done by:
- Creating an Invisible Repeating Group, with a custom state of “Task Number”, default value = 1. The repeating group hasn’t got a data source. The only data source is the main group.
- “Next Button” adds a value of +1 every time its clicked, which should change the value of the custom state “Task Number”, all the way up until the the Task Number is greater than the number of tasks in the list from the URL parameter.
Looking at debug mode, I can see that the Task Number is actually increasing, but the text value “Parent group’s Tasks’s Order nr” and “Parent group’s Tasks’s description” do not change. They stay at the first value, where the list Item# = 1.
So In essence I’m unable to get the List’s Item Number to increase from 1. Really appreciate help with this. Has got me stumped all day.