Acquiring number position in a list of texts

Here is the scenario, there is a 4 stage process stored as a list of texts such as:

Wash, Dry, Peel, Plate (In one field, has to be this way)

If another use inputs in a different data type the value ‘Dry’ like in ‘All Tests 2’, how can I display it’s at stage 2 out of 4, referencing each other from 2 different data types, and its position in the list of texts in ‘All Tests’. Screenshots of example below:

Test
Fig 1. All Possible Stages


Test 2
Fig 2. Current Stage (2/4 in Accordance with Figure 1.)

Display the list of text in a repeating group. When user clicks on a text, store the ‘current cell’s index’ in a state called ‘selected stage’.

Then for progress bar you have ‘selected stage’s value’ / ‘RG list of texts: count’

Hope it helps.

Hi and thanks for the reply! Was just wondering for the ‘selected stage’ would it be a ‘number’ or ‘text’ custom state? Furthermore, can all this be done on the table element rather than using repeating groups?

number

I would prefer Repeating group

Apologies explained it poorly, in essence its across 2 data types. Here is the example below:

Test
Fig 1. The four possible stages.

Test 2
Fig 2.The stage the process is at (2/4 in accordance with the first screenshot)

Across 2 different data types, want it to be able to take the value from ‘All Tests 2’, and be able to look at it’s position in ‘All Tests’ and display it as a text or progress bar as 2 out of 4 (50%) from the lists of text in ‘All Tests’.

Thanks again!

This topic was automatically closed after 70 days. New replies are no longer allowed.