Dynamic action fails using the null value on the list of selection change event

I have a selection list that I created a dynamic action to which I added a value set to to clear the values of other controls on the form by assigning the value NULL.

This doesn't seem to work, and I can't understand why it does not work.

Event = change
Selection type = Items
Items = P4_MYSELECTLIST
(no other condition for this action, I want it to reset for each change in the selection list).

Fire on the Page Load = False (I only want what he reset values when I use this list of choices, not the page load).
Set Type = static assignment
Value = NULL
Items = P4_ITEM1, P4_ITEM2, P4_ITEM3 (including 2 other lists of selection and control of text)
Remove the Change = No event

Xanas,

If you set the values NULL and not the literal string "NULL" you must change your DA slightly. Modify your game to run JavaScript Code.

Action = run the JavaScript Code
Fire on the Page Load = False (I only want what he reset values when I use this list of choices, not the page load).
Code = this.affectedElements.val ('');
Items = P4_ITEM1, P4_ITEM2, P4_ITEM3 (including 2 other lists of selection and control of text)

Edit:
You can also change the real action to the following if you want to leave your DA as setpoint:

Fire on the Page Load = False (I only want what he reset values when I use this list of choices, not the page load).
Set Type = Expression JavaScript
Value = "
Items = P4_ITEM1, P4_ITEM2, P4_ITEM3 (including 2 other lists of selection and control of text)
Remove the Change = No event

Good luck
Janet Tyson

Published by: Tyson Janet on January 10, 2012 09:52

Tags: Database

Similar Questions

  • How to use PL/SQL to create dynamic action to set the value of a selection by another list?

    Hello

    I would like to know how to use PL/SQL to create dynamic action to set the value of a list of selection by another selection list.

    1.PNG

    I wish can create dynamic action to manage the two above the Room select list (: P9_ROOM) and building (: P8_BUILDING).

    When you select "1074" in the bathroom, building highlights like "BRM BLD 5"

    When you select 'Area of the black box' in the room, building must assign the value "7 BLD BRM"

    When the room is Null, building should also be Null.

    I thank you,

    Alice

    I forgot to mention, for the PL/SQL Code, because you are working with items in the selection list, the return values are different from the display on your LOV values, you must instead use the return values.

    Thank you

    Erick

  • IE10: Dynamic Action failed when using Rich Text Editor (FCKeditor) article on page

    Hi all

    I use the "Rich Text Editor" in a page. This page also contains dynamic Action to disable the button so that the loading of the page. Turn off the button while loading the page worked in IE 8, 9 versions. but in the case of IE10, The dynamic Action is down because of this rich text editor this button is not disabled. I get the following error when debugging script

    SCRIPT5007: Unable to get property '1' of undefined or null reference

    As much as we use the text editor (FCKeditor), this FCKeditor_IsCompatibleBrowser() function call browser. In the case of IE10, the error above is due to the following line in this function

    var sBrowserVersion = navigator.appVersion.match(/MSIE (.\..)/)[1] ; 

    I want to use 'Rich text editor' on my page, I don't want to change like "text box." I saw some difficulty for this line in the function (the function is in the path "... / i/fck/fckeditor.js"), I can change this line in the function? Is there another way to fix this error?

    Please help me...

    Thank you
    Lacombe

    Hi all

    Rich Text Editor conflicts with DA. It has been classified as Bug. Bug number is 17065043.

    Thank you

    Lacombe

  • Dynamic action based on the value in a table

    Greetings,

    I would like to use a dynamic action to disable a button depending on the value selected/entry in a field in tabular form. Thus, for example, if someone enters the value "LKSG", then a button is disabled (in this case, the 'Add Row' button).

    How I would do this using the tools of dynamic measurements? When I create a dynamic action, I see that my choice of Type 'selection' for dynamic action of shooting is point, area, button, object DOM, jQuery Selector. I don't know how to use a field in a presentation of tabular to firing. Or if it is possible.

    I use APEX version 4.1.1.00.23

    Thanks in advance!

    John

    jfosteroracle wrote:
    Tom - it's very useful! A few questions:

    -J' use a 'button of the model '. To use the static code for the button, I see that the model must include the #BUTTON_ID # in the model. I added the #BUTTON_ID # in the template like this:

    #LABEL#

    Where is the the BUTTON_ID should go, in the

    ?

    After adding this, it does not for a button of the model. But if I change the touch of a button HTML, your method works great!

    It is of course the difference between the two buttons: how they react and, above all, how they are marked upward. An HTML button is a real