Oracle Apex dynamically enable/disable text field depending on LOV selected value

8.2k views Asked by At

I am trying to enable/disable text field depending on LOV selected value but it works just on page load, and I want to do it dynamically on client side when the LOV selected value change.

I tried with a dynamic action but it only fire on page load.

Any help?

1

There are 1 answers

3
hmarques On BEST ANSWER

Create a Dynamic Action with the following parameters:

  • Event: Change
  • Selection Type: Item
  • Item:
  • Condition: in list
  • Values: < The LOV values that should disable the other items separated by comma >

True Action:

  • Action: Disable
  • Selection Type: Item
  • Item: < Choose the item(s) to disable >

False Action:

  • Action: Enable
  • Selection Type: Item
  • Item: < Choose the item(s) to enable >