Show or hide item or button when multiple conditions are met in ORACLE APEX


1 - Try to create a dynamic action when these items change (P1_HIDDEN, P1_AA1, P1_BB2).


2 - Client Side Condition >> Javascript Expression


((apex.item('P1_AA1').getValue() != '') &&

(apex.item('P1_BB2').getValue() != '') &&

(apex.item('P1_HIDDEN').getValue() == 'YES'))

||

((apex.item('P1_BB1').getValue() != '') &&

(apex.item('P1_HIDDEN').getValue() == 'NO'))


3 - True Action >> Show your button >> enable execute when page load


4 - False Action >> Hide your button >> enable execute when page load 


Post a Comment

0 Comments