I have a Comment screen that gets navigated to in two different ways, once form a landing page, and once from another screen where people can review previously edited info. When they navigate to the screen from the landing page, there is a form with an Order number datacard that is populated by sorting orders from a SharePoint list. When they're on the review screen, there is a gallery where they can select an Order, and then a form next to it that is populated with various information like order, etc, as shown below.
When the users click on the 'Post a comment' button above, what I want to happen is to navigate to the Comment screen, and in the form that'a on the Coments scree have the Order field be automatically populated with the Order that's been selected in the gallery/populated in the form. I've tried creating local variables for the selected_po but it's not working. Any help would be appreciated.