I have a page with two regions (DIY forms), with two buttons - page structure shown below. I want these buttons to branch to different locations, but am struggling (using Apex 4.2).
The buttons both 'SUBMIT', and I have tried but failed using:
- Creating two branches, one on 'SUBMIT (Button 1)' and other 'SUBMIT (Button 2)'
Creating processes on each button press, using the following code (X different on each):
BEGIN htp.init; owa_util.redirect_url('f?p=&APP_ID.:X:&APP_SESSION.); apex_application.stop_apex_engine; END;
For both approaches, after one button is pressed, it simply uses the action/branch listed higher on the page editing screen. I also tried dynamic actions, but no luck - PS/SQL syntax errors using the code above?
There MUST be an easy answer to this!
Page Structure
- Region 1
- Button 1
- Region 2
- Button 2