I have a repeating group for a list of comments. Each comment I want to be editable, when the user hits the Edit button, a pop-up shows the current comment and allows the user to make changes and then save.
Right now, this is working, I have it constructed such that the Repeating Group references a reusable element titled Comment. Within this reusable Comment element is a pop-up. The workflow within this reusable Comment is that when the Edit button is clicked, the pop-up is filled with the right data from the existing Comment, and then shown to the user.
BUT I realized that this then means that on my actual page there will be as many pop-ups as there are Comments! This seems very inefficient. I should like to just have one pop-up on the page of Comments, and every Edit button click populates the data on that single pop-up.
However, I"m not sure how to do this, since the pop-up on the parent page is not visible to the Edit button click from inside the Comment reusable element.