Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Target a particular region in a region display selector

Larry HJan 2 2023

Hello, Apex experts,
Happy New Year!
My login page has 3 regions: "login", "register", and "reset_password".
There is a region display selector that display one of the 3 regions at a time, "Remember Last Selection"=On, "Show All"=Off and "Mode"=View Single Region.
"login" is the first and default region. If however, a new user clicks on a referral URL sent by a friend: https://apex.oracle.com/pls/apex/f?p=123456:1:0::::p1_r:610 (the last part p1_r:610 means item p1_r is going to store the value 610, which is the referral code), apparently the existence of p1_r:610 means this is a new user, so the page should show "register" (2nd region), equivalent to clicking "register" in the region selector.
Can this be done? if the URL ends with p1_r:??? the login page automatically shows "register" region?

Comments
Post Details
Added on Jan 2 2023
6 comments
549 views