dynamic action and LOVs

Hello

I'm having some trouble with the values defined in LOVs areas. I created a free workspace in Oracle APEX.

I created a form with two fields of LOVs, EMP and DEPT, after that I created a dynamic action to set the value on the LOV Dept field. Then always when a new EMP is selected, the LOV Dept field must define the departament of the chosen MAP.

Dynamic action has not worked with LOVs fields, always when I changed the field EMP LOV LOV DEPT field is canceled, but when I changed the DEPT LOV to SELECT LIST field, it's good work.

dynamic action properties:

event: change; *
Select type: points; *
point: EMP_LOV*.
Condition: no condition; *
Action: value; +
setType: Sql statement+.
Sql statement:+.

Select DEPTNO+.
from EMP+.
where EMP. EMPNO =: EMP_LOV+.

Assigned items: DEPT_LOV+.

Brgds,
André.

Edited by: 969316 11/03/2012 07:36

Edited by: 969316 11/03/2012 07:36

Try sth like this:

First create a hidden item, let's call it P1_DEPTHIDDEN then

Create dynamic action:

    Event: Change
    Selection Type: Item
    Item: P1_EMPLOYEE

Now for the first real action follow these steps:

    Action: Execute PL/SQL Code

    BEGIN

        SELECT DEPTNO INTO :P1_DEPARTMENT FROM EMP WHERE EMPNO = :P1_EMPLOYEE;

    END;

    Page Items to Submit: P1_EMPLOYEE
    Page Items to Return: P1_DEPARTMENT_HIDDEN -- This is return value, the value you will store in your database table (not the one you see on the screen)

Now for the second True action follow these steps:

    Action: Execute PL/SQL Code

    BEGIN

        SELECT DNAME INTO :P1_DEPTHIDDEN FROM DEPT, EMP WHERE DEPT.DEPTNO = EMP.DEPTNO AND EMPNO = :P1_EMPLOYEE;

    END;

    Page Items to Submit: P1_EMPLOYEE
    Page Items to Return: P1_DEPTHIDDEN -- This is display value, the value you actually need to see in P1_DEPARTMENT item !

Now for the third True action follow these steps:

    Action: Execute JavaScript Code

    $x('P1_DEPARTMENT').value = $x('P1_DEPTHIDDEN').value /* Now you set P1_DEPARTMENT value to be exactly what you need */

I really hope that it works, it's probably more easy solution then this one.

Mimi

Tags: Database

Similar Questions

  • activation / deactivation of field with dynamic action and apply the attribute 'required value.

    Hello

    Wanted to know how to force the 'required' attribute for the element off after that is "activated" by a dynamic action.

    For example, consider employee form.  I would like to disable the column of employment and salary.  As soon as the user enters the name of the employee, I will 'activate' JOB and SAL columns using "dynamic action".

    IMG-1.png

    IMG-2.png

    And above works fine.  Please note that both JOBS & SAL of columns 'NULL' according to the DB table.  My question is, how to comply with the condition of 'value' Yes, after allowing them.

    Another example would be, when the user selects 'Check' or 'Project', the 'no project' column will be activated.  Otherwise, "Project No." column is disabled (that is, the value is not required).  However, when turned on, I want to apply "value required" in this column.   How to get there?   (I use APEX 4.2.6)

    Thank you

    -Anand

    Why you do not create a function that returns a Boolean, validation of the page?

    You can do something like

    BEGIN

    IF: P5_ENAME IS NOT NULL THEN

    IF: P5_JOB IS NULL THEN

    Returns false;

    ON THE OTHER

    Returns true;

    END IF;

    END IF;

    END;

    You can change it to any desired column.

  • Dynamic action and report column

    Apex 4.2

    Theme 21

    IE8

    At the moment I have a report and a column displays a button

    "< input type ="button"name ="recreate"class ="buttongreen"value ="Synonyms to recreate"onclick =" recrea ("recreate", "' |)" owner | " (')' > ' action

    Then in my page header, I have little javascript

    function recrea (Request, user name) {}

    $x('P90_USERNAME').value = username;

    doSubmit (Request);

    }

    All of this works and sends the page and affects demand.

    Ideally, I would like to change this to a dynamic action, so I can display the gif to submit and overlay

    Can someone give me some advice please

    Gus

    Gus C wrote:

    Apex 4.2

    Theme 21

    IE8

    At the moment I have a report and a column displays a button

    '' action

    Change the HTML button for:

    
    

    (I recommend generating the HTML button in the attributes report using the HTML Expression to a derived column rather than in the report query).

    Then in my page header, I have little javascript

    function recrea (Request, user name) {}

    $x('P90_USERNAME').value = username;

    doSubmit (Request);

    }

    All of this works and sends the page and affects demand.

    Ideally, I would like to change this to a dynamic action, so I can display the gif to submit and overlay

    Create a dynamic action of executing JavaScript Code:

    Event: Click

    Selection: jQuery Selector

    jQuery Selector: [headers = 'ACTION'] entry

    Scope of the event: Dynamics

    Real Action


    Fire on Page load: NO.

    Code:


    apex.submit({
      request: "RECREATE",
      set: { "P90_USERNAME": $(this.triggeringElement).attr("data-owner") },
      showWait: true
    });
    
  • Level elements dynamic Actions and application

    Request Express 4.1.1.00.23


    I searched everywhere for an answer on this one and I can't seem to find it. Is it possible to have a dynamic action to interact with an element of application level? If it is possible, is able to have the value field in the when a dynamic action article contains a comparison operator?

    An example of a real case would be:


    Element level application F111X = X

    Dynamic action on P4_Item is triggered and disables the field

    Case of falsification:

    Element level application F111X = Y

    Dynamic action on P4_Item is not triggered and the field remains active.

    Thank you
    Jon

    Jon,

    I'm looking for an example, and if I use your article page P4 in the box 'When', event could be the change, Type of selection would be the page element.
    P4 would be selected in the drop-down list item (s), Condition would be equal to and value would be TEST with NO quotes!

    It is difficult for me to know when the values of the quote and when not.

    What is it?
    Howard

  • Help with dynamic action and the selection list item

    G ' Day Apex gurus.

    I have problems trying to achieve to trigger the Help window from an element automatically select. A Help window is triggered when it is clicked on the label of an item, but my customer wants to be triguered automatically as soon as the user clicks to view the options in the select list.

    I think I should be able to do with dynamic actions but I can't function.

    I know when someone clicks on the label of the item selection list trigger this JavaScript

    JavaScript:popupFieldHelp('277938589795252851','1545903379570909')

    So I want to trigger the javascript also when the user click on the item selection list and pull down the options and for that I think that the dynamic action is the way to go, but I can't do things.

    That's what I have to do:

    I created a dynamic option as follows:

    Name: test
    Sequence: 30
    Even: click
    Selection type: product (s)
    Article (s): P1_RATING <-a selection list item
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: checked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Thank you anyone who can tell me what I'm doing wrong here or bring a solution to my problem to trigger the Help window from an element automatically select.

    Kind regards
    Carlos

    Hi Carlos,

    I've set up a test case of exactly in the same way and it worked fine for me. I've created a page element called P1_DA_DEMO and added some values of the static selection list, then added a help text. I used the settings are lower, I suggest you try again, but also make sure that you have no other Javascript errors on the page. Use a tool like firebug to check.

    Name: Action Dynamics demo
    Sequence: 10
    Even: click
    Selection type: product (s)
    Product (s): P1_DA_DEMO<- a="" selection="" list="">
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: unchecked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Scope of the event set a Bind s.

    Thank you

    Paul

  • Javascript-based dynamic action and display the value of (!) from the selection list

    Hello

    I'm not a jQuery guru (yet).
    Can someone show me how to turn on or off an ITEM on a form based on the value display of a selection list (usually I have dynamic lists, so I don't 'know' even internal values)

    I created a simple demo in which you can (if you want to) show me how it works.

    Workspace: 6POOLRULES
    User: demo01
    Password: demo
    Application: 30851 (Drone)

    The idea is to
    * Disable/hide the "Id other Description" If the ' Id Type (display value!) is 'Passport' or 'license '.
    * activate/display the Description of the 'other' Id if the ' Id Type (display value!) is "other".


    I think that it should be dynamic action based on javascript/jQuery. But what would this jQuery selector should look like?

    Published by: bveoracle on March 29, 2012 07:28

    Published by: bveoracle on March 29, 2012 07:30

    Hello

    OK, I changed the dynamic action to use Jquery and get text from the value. The only thing I changed is in the section WHEN.

    Enjoy.

  • Dynamic action and the sequence for popluating items

    I try to use the sequence to fill an item after the other (on the loading of the Page).

    So basically I'm pushing data using a SQL to item_A then fill item_B based on the result of item_A.

    I thought that if I use the sequence it will work, but I don't get any value for item_B.

    What is the best way to do it?

    See you soon,.

    Mehr

    Mehr wrote:

    With the help of the Source is perfect however although I can easily use it to fill the item_A, but when I write this in the section item_B Source:

    item_A + 10 (example)

    the result is null.

    Can you advise?

    I guess the item_A and B are supposed to be in a sequence type of situation so that one can be done after the other, but I doubt if there is any order for items in a form (page).

    Page elements are displayed in order of sequence / the box item. Their source and default values are also defined in this order. However, the source attributes / by default defines only the values rendered on the page, not in session state (you can see this by using the Session Viewer when the page is rendered in first). This means that you cannot reference the value of an element any defined using attributes source / default to the course to see the page. To set values in the elements of rendering and session state, set the initial values using calculations or process rather than the source attributes / by default.

  • Apex 5 after execution of a dynamic action, want to display message and redirect the page

    Hello Experts,

    I use 5 Apex on XE 11 g.

    One of my page, I have 1 button that performs a dynamic action.

    Right now, I've added two real actions on the key. First of all is PL/SQL code, and the second is on the alert, which shows the success message.

    I want to show the message (box Apex message and not the simple alert message JavaScript box) on successfully executing this dynamic action and post that redirect to another page.


    Can someone help me please in the present.


    Thank you

    Thierry

    Thierry says:

    I use 5 Apex on XE 11 g.

    One of my page, I have 1 button that performs a dynamic action.

    Right now, I've added two real actions on the key. First of all is PL/SQL code, and the second is on the alert, which shows the success message.

    I want to show the message (box Apex message and not the simple alert message JavaScript box) on successfully executing this dynamic action and post that redirect to another page.

    Use the simple way to do this:

    • A button that submits the page rather than perform a dynamic action
    • A process of PL/SQL after presented with the necessary success message page
    • A branch to the landing page with the option include the success process message verified

    General management and the process should be contingent on the button that is clicked.

  • help on the use of dynamic action to update the items in a table (more precisely, the radio button) based on the collection

    Hi everyone, I posted this question in the past and made huge strides with the help of Denes Kubicek: https://apex.oracle.com/pls/apex/f?p=31517:294:115851992029365: based on my previous question posted: https://forums.oracle.com/forums/thread.jspa?threadID=2537494

    I'm fighting with a single element in my tabular presentation.  There is a radio button.  The choices all seem correctly, but the value is not saved in the collection (and therefore not recorded in the table).  All the other elements in the form of tables to record properly.

    Here's what I have for the query.   This is element c024 (which maps to;) ("F03'), which is defined as a radio based on an existing LOV LOV.

    Currently I have:

    2 items on the page:

    P110_ID

    P110_VALUE

    Dynamic action called COLUMN of CHANGE:

    event: CHANGE

    selection type: jQUERY Selector

    jQuery:

    Select jQuery = input [name = "f03"], select [name "f08"], select [name = "f09"], input [name = 'f10'], input [name = 'f11'], input [name = 'f12'], select [name = "f40"], input [name = "f21"], input [name = 'f22'], input [name = "f23"], input [name = 'f50']

    scope of the event: Dynamics

    real action #1: set the P110_ID javascript expression this.triggeringElement.id

    real action #2: set the P110_VALUE javascript expression this.triggeringElement.value

    action 3: run pl/sql code

    declare
      v_member number;
      v_seq number;
    begin 
      v_member := TO_NUMBER (SUBSTR (:p110_id, 2, 2));
      select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
      safis_collections.update_column(v_seq,
                                    v_member,
                                    :p110_value);
    
    
    

    refreshment area true creation #4: LANDINGS_COLLECTION

    the tabular presentation is based on the query:

    SELECT
    apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
    seq_id,
    seq_id display_seq_id,
    apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit,
    apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0','  -- Select Favorite --  ','f08_'||seq_id,'') Disposition,
    apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear,
    apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
    apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
    
    apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
    ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars,
    decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished,
    decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY,
    decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT,
    c024 hms_flag,
    decode(c050,'Y',apex_item.checkbox(21,'Y','id="f21_'||seq_id||'" style="background-color:#FBEC5D; " onClick="alterYes('||seq_id||');" onKeyPress="alterYes('||seq_id||');"',c021),'N','N/A') FinsAttached,
    decode(c050,'Y',apex_item.checkbox(22,'N','id="f22_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterNo('||seq_id||');" onKeyPress="alterNo('||seq_id||');"',c022),'N','N/A') FinsNotAttached,
    decode(c050,'Y',apex_item.checkbox(23,'U','id="f23_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterUnk('||seq_id||');" onKeyPress="alterUnk('||seq_id||');"',c023),'N','N/A') FinsUnknown,
    decode(c050,'Y',apex_item.textarea(28,c028,3,null,null,'f28_'||seq_id,''),'N','N/A') Explanation,
    decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale,
    decode(c020,'Y',
    apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;"',null,null,null,'f40_'||seq_id,''),
    'N','N/A') HMS_AREA_CODE,
    c020,c050,
    decode(c020,'Y',
    apex_item.text(41,TO_NUMBER(c041),5,null,null,'f41_'||seq_id,''),
    'N','N/A') Sale_Price
    from apex_collections
     where collection_name = 'SPECIES_COLLECTION' order by seq_id
    
    
    
    
    
    

    I noticed the following:

    When I change the column C011 (price) the following values are defined in dynamic action:

    P110_ID = f11_1

    P110_VALUE is everything that I change the price.

    When I change the column C024 (hms_flag), the following values are defined:

    P110_ID = f03_0001

    P110_VALUE = change everything what I hms_flag to.

    the region is updated in my dynamic action, and change of hms_flag does not take.  I tested the SQL query that generates the value of v_SEQ in the dynamic action.   Both a change of price and HMS_FLAG, it seems valid

    Select ltrim (substr(:p110_ID,5,4),'0 ') in the double v_seq;

    If f11_1, v_seq: = 1

    If f03_0001, v_seq: = 1

    Thank you!

    solved.  sort of.

    domain c024 references f03.

    dynamic ACtion, step 4 calculated v_member as a substring of P110_ID... and in all other areas, the column and the field (fxx) displayed the same value... otherwise c024.

    I'm not exactly sure how solve it, but see the problem.

  • Tips: APEX 5 r IR by a dynamic action after the text fields complete

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    Now if I create a button that submits page or redirects to this page my report can be updated with the values of user entered without problem, basic stuff.  If I create the settings section as a dialog box model once again that I can get the update report as this dialogue submits the page as well as the report can refresh according to closed dialog option.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    I am struggling to get this to work and I even tried to copy these settings and do them as hidden for example bind input P1_A to P1_A_Hidden by a dynamic action and have the report where clause =: P1_A_HIDDEN, but have not managed to get this working.

    It's possible?  I know its easy to simply send the page and make it work, but I want the experience to be quite uniform for the user and act as you never leave the page.

    I saw on the packages of the app in the chart example.  The bubble chart has a list selector (salary) and the table updates dynamically, it seems so that the process can occur, but I need the user to enter text and not use selection lists.

    My apologies if I missed any, but I can give you more if it helps.

    Concerning

    1972903b-5166-494e-8355-08d9d4006e96 wrote:

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    The button simply trigger a unique dynamic action of refreshment on the IR region. Session state for page elements must be processed automatically by specifying them in the property Page to submit Items of the IR region.

    Please ensure that you have updated your forum profile with a recognizable username instead of "1972903b-5166-494e-8355-08d9d4006e96": Video tutorial how to change username available

  • Dynamic action using the datePicker in APEX5.0

    I want to use dynamic action with dates in APEX 5.0 picker such that after the selection of start_date and end_date interactive report should display data for the selected date range.

    I first created an interactive report in the APEX and then created a page with date elements pickers.ln my database table, I have a column name time_stamp, who is with the date format varchar2 data type YYYY-MM-DD - HH24:MI:SS.

    Looks like my request for interactive report below:

    Select * from table1 where time_stamp between to_char(to_date(:p1_item,'YYYY-MM-DD-HH24:MI:SS'),'DD-MM-YY') and to_char(to_date(:p2_item,'YYYY-MM-DD-HH24:MI:SS'),'DD-MM-YY')

    (where p1_item and p2_item are the page numbers for the selectors of dates), the 'Mask of Format' attribute for the selectors of dates, I put to JJ-MM-AA. Now, I need to define a dynamic action to run my SQL query of interactive report based on the selected start_date and end_date arguments. I need to know more about the steps to create such dynamic action and look for the detailed steps to what attributes must be defined to achieve this.

    Help, please.

    Thank you

    Mukul

    I did notice that the column time_stamp was varchar2. You can use this query:

    select *
      from table1
    where to_date(time_stamp, 'YYYY-MM-DD-HH24:MI:SS') between to_date(:p1_item, 'DD-MM-YY')
      and to_date(:p2_item, 'DD-MM-YY')
    

    And if you remove it your selectors of dates format mask then you could be simpler:

    select *
      from table1
    where to_date(time_stamp, 'YYYY-MM-DD-HH24:MI:SS') between :p1_item
      and :p2_item
    

    You have need of other attributes.

  • Dynamic action to select a default value

    I'm struggling with a concept of dynamic action. I'm trying to set the default values under certain circumstances.

    If no selection is made in groups of KPIS, I want one for the area of selection around the bulb.

    If no selection is made in high-level KPI, then I want the premiera 'selected' with the area around the bulb.

    My goal is to do two things here. First of all, visually indicate which item has been selected via a click or default action. And second, select first occurrence of KPI according to if something has clicked or if anything has been clicked again.

    Three scenarios I see:

    (1) user opens page 586: 'Safety and training' must be selected. And OSHA training should be chosen

    (2) click on 'Monitoring': monitoring must be chosen and should therefore "warning fire late" as the first in the category.

    (3) the user clicks 'Detectors of CO2' late under surveillance: surveillance remains selected in the KPI group and the selection moves the late fire alarms to CO2 detectors, late.

    When I say selected, I'm talking about the little box around the bulb. It would be even better if the box around the text went too if possible.

    And Yes, you are allowed to make changes to the application.

    Login to apex.oracle.com

    number of App 73911

    bulbcharts workspace

    user guestdev / charts

    TC-army wrote:

    I'm struggling with a concept of dynamic action. I'm trying to set the default values under certain circumstances.

    If no selection is made in groups of KPIS, I want one for the area of selection around the bulb.

    If no selection is made in high-level KPI, then I want the premiera 'selected' with the area around the bulb.

    My goal is to do two things here. First of all, visually indicate which item has been selected via a click or default action. And second, select first occurrence of KPI according to if something has clicked or if anything has been clicked again.

    Three scenarios I see:

    (1) user opens page 586: 'Safety and training' must be selected. And OSHA training should be chosen

    (2) click on 'Monitoring': monitoring must be chosen and should therefore "warning fire late" as the first in the category.

    (3) the user clicks 'Detectors of CO2' late under surveillance: surveillance remains selected in the KPI group and the selection moves the late fire alarms to CO2 detectors, late.

    When I say selected, I'm talking about the little box around the bulb. It would be even better if the box around the text went too if possible.

    And Yes, you are allowed to make changes to the application.

    Login to apex.oracle.com

    number of App 73911

    bulbcharts workspace

    user guestdev / charts

    The 'small box around the bulb' is the focus rectangle. It is in fact to choose a bulb before you click on it, not saying the current selection (click on a light bulb and then press tab to see this in action). For accessibility reasons, it is best to let this behavior of the browser by default alone.

    Maintaining the metaphor of the light bulb, I used dynamic actions and CSS to apply a glow effect to indicate the bulbs that exist currently "on". Details to follow when I have more time...

  • Consult the Page element values in the dialog box confirm dynamic action

    Hello

    I can return values to the Page item in the dialog box confirm dynamic action.

    I have a dynamic Action and I using the Action - confirm to display the confirmation message. I'm trying to refer point Page P1_EMP_NO say in the Confirmation box as shown below.

    Action - confirm
    Text - * & P1_EMP_NO.* "test123".

    When I have to run so that a dynamic action, confirmation shows only 'test123', the value for P1_EMP_NO is not displayed.

    My question is that we can refer such values as described above OR is there any other way to do it.

    ----
    Thank you
    Deepak

    Hi Deepak,

    You can see no elements in the confirm dialog box.
    You will need to write your own javascript and refer to elements such as dialog box

    $v('P1_EMP_NO') 
    

    Kind regards
    Kees Vlek
    -----
    Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66
    If the answer to question please change replied and mark the appropriate post as correct / helpful.

  • Dynamic action for 2 fields in a table

    Greetings!

    I have a requirement where I need to disable/enable a field in a tabular presentation for a specific record based on the value of another field in the tabular presentation for this record.

    In a concern for discussion, in my particular case - if FISHCOUNT > 1, then the LENGTH must be disabled. If count < = 1, then the LENGTH must be enabled. It should disable it only records where FISHCOUNT > 1.

    I would do it with dynamic action and I learned through this forum (thank you!) that I can use jQuery for the event (when) the section of the dynamic action.

    So that the part would look like:

    Event: change
    Selection type: jQuery Selector
    jQuery Selector: td [headers = "FISHCOUNT"] select
    Condition: above
    Value: 1

    So far so good. But where I'm stuck is how to reference the LENGTH field of the tabular form in the actions of TRUE and FALSE, so that when the change in the event product (FISHCOUNT), the LENGTH is disabled if FISHCOUNT > 1, or LENGTH is enabled if FISHCOUNT < = 1.

    SEO so the scope of the CASE of my tabular presentation in the actions of True and False, that's where I need help.

    Thanks in advance!

    I use APEX 4.1.1

    John,

    You can do this by creating another dynamic action with the event 'Front Page submit' ("framework events" section).
    With real action that executes javascript, load the page uncontrolled.

    $("input:visible:disabled").prop("disabled",false);
    

    This will select all elements disabled entry visible on the page and remove the disabled property.

  • How to get the user input to dynamic Action confirmation message?

    Hi guys,.

    I use apex 4.1.

    I added a page dynamic Action confirmation message box. How can I get the user input to the confirmation pop up?

    Thank you

    Hello

    you do not directly get user input. But you should still be able to get what you want. Suppose you have a dynamic action which fires for a 'change' (or other) and who has two or more actions

    (1) confirm
    (2) execute the PL/SQL Code

    If the user clicks Cancel/no in the confirm dialog box, APEX stops execution of this dynamic action and not run "run the Code in PL/SQL.

    Hope that helps
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for