My team is working on a survey with multiple SxS tables, and each have 50+ rows of information. We are working on implementing summary slides between each SxS table that do calculations with JavaScript and display a total.
Our solution so far is to loop through an array with 200 entries with the piped text codes written out. This is not feasible long term, because there will be multiple versions of this survey with different entries in the SxS table. What I’ve found is that when the survey is modified, the codes continue to increase, and I now have entries with a piped text code of more than 200.
I’m looking for a solution that doesn’t involve simply increasing the size of the array. Is there a way to either:
- create a loop that builds the piped text codes,
- predict what the new piped text codes will be when the survey is modified,
- reset the codes when a new survey is created so that they don’t get higher than 200?
Any help would be highly appreciated.