Array lookup for table output

Certified Senior Developer

Hey guys.

Just wondering what the best approach is to achieve the below:

Assume I have a form that shows section layouts dependent on the input. In this case the numbers are just used to represent the value of the control.



This would refer to a table such as:




Then depending on what options have been selected overall, the 'Outputs' section only shows the outputs for the numbers that have been selected. The selections from the Output check boxes would then be stored in the record.

An example of this form working would appear like:


I'm guessing that maybe an array used to store the options values selected would work, then an expression rule would some how only provide the choice labels and values for the op_num in the array for the check box/output layout.

Does this all seem possible? Anything I should look out for? Is there possibly a better way that this could be built? I've considered using a matrix table to determine the outputs, however am now researching this 'single output at a time' approach as the matrix table would be massive for my application.

Thanks in advance.

  Discussion posts and replies are publicly visible