Search code examples
javascriptdynamicactionoracle-apexlov

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


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?


Solution

  • 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 >