Hello all,
I have a question on how to get a repeat group to filter based on an earlier multiple choice question (this is for commtrack supply chain if that makes a difference).
Question 1 - lookup table on a list of Programs. Returns a single program id
Question 2 - repeat group to a fixture on the list of products. Works until I attempt to reference the program for filtering from question 1
Query expression on the repeat group:
Works: instance('products')/products/product/@id
Doesn't: instance('products')/products/product[./program_id=current()/../../../question1]/@id
Thoughts? It seems like the repeat group gets built out at the time the form loads, not at the time that the repeat group is presented to the user.
Thanks!
