Hide/region condition based on a LOV tabular

Hi guys,.

I have a tabular presentation that has an LOV. If the vaule that the user wants to select is not in this list, I want them to be able to create from a region within the same page.

I have a value ' * value not listed * "within the LOV which the user can choose to create the record they need in the table that controls the LOV.

I have a region (create an RESP) that allows the user to create the record they need.

What I want to do is to display the box 'Create an RESP' when the user selects ' * value not listed *' in the LOV.

I tried to assign an id (id = 'RESP') to the field LOV and then by creating a dynamic action to show/hide the region 'Create an RESP' with the equal #Resp < b > < /b > < b > selection type < /b > "jQuery Selector" ' * value not listed *'

I couldn't get this to work for the moment.

If someone can advise regarding how do I show/hide a region according to what is selected in a tabular presentation, LOV it would be great.

Hope it makes sense.

Chris

Hello

I created a simple demo in my workspace:
check the: http://apex.oracle.com/pls/apex/f?p=29601:7
Login: demo
Pass: demo

You will find a way how you can show/hide area when you choose the "unlisted value: ' column select list of Ename.

First of all, I put the ename attribute column: element attribute: class = "test_lov".

Dynamic measurements
SEE THE DA
Event: change
Selection type: Jquery selector
JQuery selector: .test_lov
Condition: Expression Javascript
Value: $(this.triggeringElement) .val () == "

HIDE
Event: change
Selection type: Jquery selector
JQuery selector: .test_lov
Condition: Expression Javascript
Value: $(this.triggeringElement) .val ()! = ''

Concerning

J :D

Published by: jozef_SVK on 10.2.2012 05:11

Tags: Database

Similar Questions

  • Hide columns in Table B, based on values LOV in another row of the table:

    Hello

    Jdev 12.2.1.0

    I have two tables A and B and I hide columns b based on the value of row of table A LOV. For example, I have a line in A table that has a column with the x, y, z values lov. Now, if I select the row in the table has and change the LOV to x, I had to hide some of the columns in the table (B) is there a way to get this feature? Any help would be appreciated.

    Thank you

    Assume:

    1 table a call "DepartmentId" column this column has LOV.

    B 2-table a column "ColumnInB" this column will be visible depending on the value of "DepartmentId".

    Try to do the following:

    1 - from data controls, drag "DepartmentId" attribute and drop it on the page as inputText then together make this inputText to false (you can remove it, but don't forget the corresponding binding in pageDef. not deleted).

    2. copy the value of the inputText which will be as "#{bindings." DepartmentId.inputValue}"and go to the"ColumnInB"column and visible property beyond the copied value.

    3 - the ColumnInB visible will be the condition as:

    4-set DepartmentId autoSubmit = 'true '.

    5-set table partialTriggers table B has id and id of DepartmentId LOV

  • Hide a line based on the State.

    Hello, I have a requirement where I have to hide a line based on the State. I am able to highlight the lines but hide the entire line does not work.

    Condition must be met on a line:

    • Thus, if a sum of EXP5_11, EXP6_11, EXP7_11 and EXP8_11 in a current group is all zeros hide this line. Please refer to the RTF-model.

    Attachments:

    • RTF-model.
    • XML file.
    • Sample output generated when the lines are highlighted the meeting status.

    Any help is much appreciated on how I can hide a line.

    EM-: [email protected]

    If please remove your IF condition and add the following code inside the foreach tag

    This works very well in my test.

  • Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Hello

    The normal thing to do is to create a similar additional responsibility and using Exclusions to 'hide' the features you want.

    Then assign it to restricted users.

    Kind regards

    Bashar

  • How to hide regions dynamically in the OPS?

    Hello gurus,

    I have only one requirement, in the page, I have the box Yes and no. When the user checks the "Yes" radio button a region should be the display if the user selects "" another region should display

    If one of them clear them two regions should hide... I did it in SPEL, but it does not work for me... Give me any suggestions of emergency guys...

    Thanks in advance,

    Krishna

    Hello Krishna,

    Please visit this link Oracle Application Framework items of Dilip: hide / show region PFR on the event

    Re: Hide region: Urgent

    Thank you

    Dilip

  • develop/tab Show / Hide regions

    Try to do a dynamic button that could expand all show and hide regions on the page once click. and tabs them when you click New.

    I was wondering if anyone knows how to do this... ?

    Published by: PandaOracle on 8 June 2012 10:49

    Just use javascript to toggle below code (all show/hide all)

    $('.t1HideandShowRegionLink').children('img').click();
    
  • Hide the conditions of the IR

    Hi all

    I'm building an IR and me using line highlighter to highlight a few lines. This is my default report.
    Is it possible to hide the conditions (which is displayed above the report).

    I cut, but I was told to hide it completely. I have not found this option.


    I use 10g DB and Apex version 4.1

    Thank you in advance,
    Daniel.

    Daniel wrote:
    Hi, VC.

    Another highlight, I just need the menu actions for download purposes.

    Thus, it will block that too?

    Menu Actions will be available, but you have IR research field? don't forget when you search it will add a filter that are not visible to the end user to delete.

    Here's what you get

    http://Apex.Oracle.com/pls/Apex/f?p=46417:4

    Test/test connection

    Try searching for 'plugin', the filter is applied, but you won't see it

  • Dynamic report query table based on selected LOV

    Hello

    Need some suggestions and Tips how to query dynamically table via lov to report.

    Scenario:

    Table, TABLE_LIST, a tablename (table in DB) and filter (for where clause) column. The TABLENAME_LOVE is derived from the table TABLE_LIST.
    D SELECT TABLENAME TABLENAME TABLE_LIST R


    On Page 2, a select list item, page P2_TABLENAME use TABLENAME_LOV
    All data tables in the table_list has an identical structure (columns, triggers, primary key and so on).

    I want to have the query area of the report of the table based on selected LOV.

    Example,

    TableName Filter
    WBR
    CD2 ACTIVE = 'Y '.

    When select TB1, regin report ask TB1 on the base.
    When select CD2, will interview the report based on CD2 regin WHERE ACTIVE = 'Y '.


    Question:
    How can I query function & P2_TABLENAME. WHERE & P2_FILTER.
    As
    Select col1, col2 from P2_TABLENAME WHERE & P2FILTER

    Appreciate any suggestions and tips.

    Tigerwapa

    Hello
    You should always put your version of the Apex, version of DB and such other information as suggested in the FAQ.
    And now wherever you are referring to report, you need to answer if it's IR or classic.

    Regarding your query, have you explored the kind of statement "SQL Query (body of function from PL/SQL returning SQL query)"?
    This could be a good target for what you're trying to reach.

    Kind regards

  • Backgorund of region conditional reporting process

    Hi all
    I have created 5 parts of SQL report in my application... SQL query retrieves only one value.

    as:

    Reg1: select salary from emp where emp = "1234"
    .....
    reg5: select salary from emp where emp = '5678'

    I assigned static ID's for these regions and created 5 5 regions process affect a backgorund color according to the value of the region.

    can I do this using only 1 instead of the process 5different for each region. (little iterative code)

    Here is the link I posted earlier for contional backgorund:
    Historical region conditional formatting

    Thanks in advance.

    Hello:

    Yes, you are on the right track. You don't need the exception handler for each block.

    declare
    x number;
    y number;
    begin
       select sal into x from emp where empno=7839;
       select sal into y from emp where empno=7125;
       if x >= 5000 then
          htp.p('');
       end if;
    
     if y >= 5000 then
          htp.p('');
       end if;
    
    ..... other stuff
    
    exception when others then
    null;
    end;
    

    CITY

  • How to disable the popup LOV (query based LOV) tabular

    Hello

    I need help. I need to make a line in a table form the read-only AND disable the Popup LOV (LOV based query). As you can see in the code below all rows with a value of "AUD" becomes read-only. Column 5 is a Popup LOV (query based LOV), and must have become read only AND disabled also. Currently, the code performs the lines = "AUD" read-only, but the user can still click on the Popup LOV this line and select a value from the list, then updates the row.

    All solutions?

    function makeRowReadOnly() {}
    {$('select[name="f06"]').each (function ()}
    var row_val = $(this) .val ();
    ROW_ID var = $(this).attr('id').substr (4);
    If (row_val is "AUD")
    {
    $("#f02_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f03_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f04_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f05_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f06_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f07_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    }
    else {}
    $("#f02_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f03_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f04_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f05_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f06_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f07_"+row_id) .attr ("readonly", false).removeClass('row_item_disabled');
    }
    });
    }

    Hi dekoke_i,

    I tried this on my local instance of APEX 4.2:

    function makeRowReadOnly() {
    $('select[name="f06"]').each(function() {
    var row_val = $(this).val();
    var row_id = $(this).attr('id').substr(4);
    if (row_val == 'AUD ')
      {
        $("#f02_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f03_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f04_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f05_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        //make the popup-lov button readonly
        $('#f05_' + row_id).closest('tr').find('td span.lov a').addClass('row_item_disabled').unbind('click');
        $("#f06_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f07_" + row_id).attr("readonly", true).addClass('row_item_disabled');
      }
    else {
      $("#f02_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f03_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f04_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f05_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      //enable the popup-lov button
      $("#f05_"+row_id).closest('tr').find('td span.lov a').removeClass('row_item_disabled').bind('click');
      $("#f06_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f07_"+row_id).attr("readonly",false).removeClass('row_item_disabled');
      }
    }
    

    I hope this helps!

    Kind regards

    Kiran

  • Hi want to do a condition based LOV...

    Hi all

    I have a requirement

    I have a VO based on a QUERY, and that looks like

    SELECT msi.segment1, msi.description*.

    FROM msi, bbom bom_bill_of_materials mtl_system_items_b

    WHERE msi.inventory_item_id = bbom.assembly_item_id*.

    and msi.organization_id = bbom.organization_id*.

    and msi.organization_id =: 1*.

    and that organization_id must be my ORGID

    I got the org to help id

    Number OrgId = pageContext.getOrgId ();

    and now begins the problem I get no idea how to make this setting I had it is OrgId

    in the original Version above to ensure that I get the result I wanted to

    Please can any body help me in this...



    Thanks in advance

    DEV

    Hi Dev,

    Try this link.

    LOV filtered

    Let me know if this isn't clear.

    Had

  • Hide or display based on time or conditional action button

    Hello

    I wanted to see if anyone might have some insight on the best approach. In my Captivate program (version 7), I have a next button on each screen. Using Javascript and .NET, the variables are passed in the program.

    There are two scenarios when a user opens a session in the program I want to accomplish.

    (1) If you are a new user or if you have not seen a particular screen again, hide the btn 'Next' until the slide duration reaches a specific time (for example 60 seconds on a slide that's 63 seconds of time, given that the next button will stop the slide to move to the next slide) is over.

    (2) If you are a user existing, or that you have already seen a screen, display the next btn.

    I fight with the best approach. Any help would be appreciated!

    Thanks for your help!

    Ruth

    You cannot move a button on the timeline on the duration. I would therefore suggest to have two following buttons:

    Bt_Next1 for new users, with his script at the end of the slide

    Bt_Next2 for existing user.

    If you have access to the value of the variable v_lastmod an advanced conditional action on enter the slide might do the trick:

    IF v_lastmod is equal to or greater than 1

    See the Bt_Next2

    ON THE OTHER

    See the Bt_Next1

  • Hide fields based on a LOV using javascript

    Hello

    I have a LOV that currently does a shipment and returns the fields corresponding to the selection. For example if the user selects the financing and funding type, fiscal year, funding type condition fields appear. Users don't like well how the page has charge for this. I was playing with some javascript, but it does not work properly.

    I put this in the field of Funding_type_c, under attributes of HTML form elements, but it does nothing.

    OnChange = javascript: "$f_Hide_On_Value_Item(this,'P2_DFCY_CATG_C',1)."

    I also changed my list of selection of category with him present a regular selection list.

    This does nothing more.

    funding_type_c has also a condition on the PL/SQL Expression: P2_DFCY_CATG_C = '1'

    Please notify.

    Thank you
    Mary

    Mary

    The 'if' statement is syntactically incorrect

    If oplan! = "Yes".
    must be
    If (oplan! = 'Yes')

    CITY

  • Show and hide regions / buttons by changing the item values

    Hello

    is it possible to change a value of an element (LOV) that in the dependence of the selected a region of value / button see the STI or hide?

    I try this with the conditions of the region / button, but it does not work...

    Workspace: TEST_OA5
    Username: [email protected]

    password: Hund123

    Page: 2


    THX for the help,


    concerning

    René

    Hello

    I've added a new dynamic action called ANIMAL SELECT and changed the terms on your reports using P2_TIER_AUSWAHL

    Gus

  • Show/Hide button on the line on a tabular presentation depend on the values of line.

    I want to show/hide (or toggle so easy) a button link to page of line on a dependant in a table on the other line values.

    For example if I had a table, built form using the form wizard based on the EMP table with a query: -.

    Select
    EMPNO,
    EMPNO EMPNO_DISPLAY,
    ENAME,
    EMPLOYMENT,
    BISHOP.
    HIREDATE,
    SAL,
    COMM,
    DEPTNO,
    'button' but1
    from EMP

    The column of buttons is used as a link to a page. But I only want to be displayed/activated if the WORK is a "SELLER". Does anyone know how to do this? Or give me any suggestions?

    Another option would be to have a button under the lines enabled/disabled depending on when you click on a line and this line having a JOB "SELLING."

    Thanks, Pete

    Then - under condition - select the exact anchor (+ image) of your select statement (and display it as as a standard report column).
    (Unfortunately) does not allow any conditional display for a link (or a link element) in a tabular form (in the current version, should be a nice improvement however).

Maybe you are looking for

  • Satellite L20-183 - battery will not charge

    For two days the Toshiba * Satellite L20-183 original * battery does not charge.The laptop * works on a/c * power, but its * battery is stuck * on 3%. You have an idea, what could be the problem?The laptop is almost three years, and the battery itsel

  • Error updating the properties of use

    When you go to setting > options > extensions > dataplugins clicking on a use on the properties... button gives me an error. I get the error Error executing command 'SUDDlgShow '. Error: Access Violation Address of the error: 0007c2ca Module name: gu

  • Dynamic event to manage 12 x 12 table or Cluster UI

    I try to treat up to a table of 12 x 12/cluster to allow different LED. The enable method will be two digital controls, JPY, which lights to LEDs in a specific order based on the input of control MxN. The specific order is right to left, bottom to to

  • The computer will not start blank screen

    I can't computer Dell 4600 my wife to start.  White screen. I have a Trojan horse, or the boot order has changed. I can't run antivirus software in safe mode. Maybe bad hard drive? d_may

  • Error during the full backup of the system Vista "Media is not UDF.

    Original title: error during the full backup of the system Vista "Media is not UDF" I tried CD - R and DVD + R I just finished day three re - build with all the latest updates and now I want an IMAGE backup to recover from.  When I run Backup asked t