Hi,
I am using Oracle Apex 23.1.
Assumption
In the application, I invoke the form (page 1) as a modal dialog that collects basic information from the user.
There is also a button on the page ('ADD') that takes the user to the next modal dialog (page 2) where details are to be entered.
After pressing the button, data from page 1 is to be saved to the global page (page 0), which is then displayed on page 2 in order to present the user with the context in which he is located, as well as for data reuse.
On page 1, I have added a process that performs such a write to page 0 in the 'Processing' section and its 'Execution sequence' = 1.
In the 'After Processing' section, I have created a branch that takes the user to page 2 after pressing the 'ADD' button.
Both modal windows are set to 'Chained' = OFF.
Problem
The above works when the 'ADD' button has SUBMIT PAGE behavior. Unfortunately, page 2 does not open as a new window above page 1, but is displayed in the window of page 1 - which is incorrect for my assumption (page 2 is much wider than page 1 because it contains much more data to fill out).
When I change the behavior of the 'ADD' button to 'Redirect to page 2', saving data to the global page does not work, but at least page 2 is a new window.
Please advise what I should do so that after pressing the 'ADD' button:
- data from page 1 is saved to the global page,
- page 2 displays as a new modal window