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!

Dynamic action to hide/show relevant fields based on selection

blyzzApr 10 2017 — edited Apr 11 2017

I have a form with a drop down Type A and B

Most of the fields for Type A and Type B are common but there are certain fields related to type A only and some belong to Type B only.

When I select Type A, the form should display Type A related Fields (Common Fields and unique for Type A) and same for type B.

I want to hide/show relevant fields based on selection in one dynamic action.

I am displaying as Type A and B on the form but storing as 1 and 2 in the table.

The dynamic action I created is :

when Type=1 then hideĀ  (type B related fields) on true action and on opposite action show Type B related fields.

Also on true action show Type A only field and on opposite action hide Type A only field.

when I run the application, Only first part of this action is working, that is hiding Type B fields when Type A is selected and showing Type B related fields when Type B is selected but it is also displaying Type A only field when A or B is selected.

I also tried creating a separate action for Hiding Type A only field when B is selected but it is not working.

Any suggestion is appreciated.

Thank you,

Blyzz

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2017
Added on Apr 10 2017
3 comments
914 views