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!

Hiding Region with Dynamic Action

BKorus24Apr 4 2019 — edited Apr 5 2019

I am currently working in APEX 18.2 with ORDS

I have a page made in my application that is for resetting your password to the application. I have a dynamic action setup on Page Load to run the following PL/SQL code to verify the person resetting their password

declare

l number;

begin

l := obg_authentication_k.verify_reset_password(

in_obg_person_id => :P3_ID,

in_verification_cd => :P3_VC

);

CASE

WHEN l IS NOT NULL THEN

  :P3\_HOLD := l;

ELSE

  NULL;

END CASE;

end;

I am trying to setup a Dynamic Action to hide the Password Reset Region when the item :P3_HOLD is Null. I have tried creating a second Dynamic Action that fires on page load, has a client side condition of item is Null for item P3_HOLD, an action of hide, and to hide the region password reset.

Screenshot from 2019-04-04 15-28-24.jpg

When I try and load the page with the my parameters being passed through the URL the page shows up blank. I have checked to make sure that the P3_HOLD item has data in it with the web console using $v("P3_HOLD") which comes back with "2".

Screenshot from 2019-04-04 15-22-05.jpg

It seems like the Dynamic Action isn't working properly, but I could be overlooking something. Any help or suggestions are appreciated.

This post has been answered by PMON on Apr 5 2019
Jump to Answer
Comments
Post Details
Added on Apr 4 2019
10 comments
5,913 views