APEX dynamic action - How to hide an item after the page loads

Hello
I have a form  with  item  Type,  lesson and page.   I want to create a  dynamic action like "on page load" if Type = x then don't show lesson and page items. .
How do I say if Type=x then  don't show lesson and page. otherwise show them.
Please note Dynamic action,  Event=Page load
Thanks

create dynamic action like
Event:Change
Selection Type:Item
Item:Type
Condition:Equal To
value:X
Select Action:Hide
Select Items to hide
also create opposite false action
and click on page checkbox below action to yes
Hope this may helps
pars.

Similar Messages

  • How to use application item in the page template

    How to use application item in the page template.
    Thanks,
    rajendra

    Hi,
    You can refer application item value in template like &MY_ITEM. (note period at end)
    http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/concept_sub.htm
    Regards,
    Jari

  • How to use an item on the page to create a dynamic link?

     

    create dynamic action like
    Event:Change
    Selection Type:Item
    Item:Type
    Condition:Equal To
    value:X
    Select Action:Hide
    Select Items to hide
    also create opposite false action
    and click on page checkbox below action to yes
    Hope this may helps
    pars.

  • How to hide business process stage on page load in crm 2013

    Please tell me how to hide process stage on page load in crm 2013.
    for example: Develop, Propose,Quotation... these are business process stages and I have a custom field named "type"
    If type value =1 then hide Propose stage

    Hello,
    That is not possible. What I would suggest is to create several processes for same entity and switch between them using plugin. Sample code for it -
    https://deepakexploring.wordpress.com/tag/updating-process-id-in-crm-2013/
    Dynamics CRM MVP/ Technical Evangelist at
    SlickData LLC
    My blog

  • How do you paly music when the page load

    I have tried. insert sharkwave. import .

    Are you trying to add like background music to your flash
    movie?
    If so just create a layer called music or something so you
    know what it is, insert a blank keyframe in the first frame of that
    layer. Then import your music file and drag it from the library
    onto the stage in that keyframe.

  • Help using a dynamic action to update tabular form items (specifically radio button) based on collection

    Hi Everyone, I have posted this question in the past and made huge progress with Denes Kubicek's help:  https://apex.oracle.com/pls/apex/f?p=31517:294:115851992029365::::: based on my earlier question posted: https://forums.oracle.com/forums/thread.jspa?threadID=2537494
    I am struggling with one item in my tabular form.  It is a radio button.  The choices all appear properly, but the value is not saved in the collection (and hence, not saved in the table).  All other items in the tabular form save properly.
    here is what I have for the query.   It is item c024 (which maps to ;'f03'), which is defined as a radio LOV based on an existing LOV.
    Currently I have:
    2 page items:
    P110_ID
    P110_VALUE
    Dynamic action called CHANGE COLUMN:
    event: CHANGE
    selection type: jQUERY Selector
    jQuery:
    jQuery Select = 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']
    event scope: Dynamic
    true action#1: set value P110_ID javascript expression this.triggeringElement.id
    true action#2: set value P110_VALUE javascript expression this.triggeringElement.value
    true action#3: execute 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);
    true ation#4 refresh region :LANDINGS_COLLECTION
    the tabular form 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 have noticed the following:
    when I change column C011 (price) the following values are set in the dynamic action:
    P110_ID = f11_1
    P110_VALUE = whatever I change the price to.
    when I change the column C024 (hms_flag), the following values are set:
    P110_ID = f03_0001
    P110_VALUE = whatever I change hms_flag to.
    the region is refreshed in my dynamic action, and the change for hms_flag does not hold.  I have tested the SQL query that generates the value for v_SEQ in the dynamic action.   In both a change to price and HMS_FLAG it appears valid
    select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
    if f11_1, v_seq:= 1
    if f03_0001, v_seq := 1
    thank you!

    solved.  sort of. 
    field c024 references f03.
    the Dynamic ACtion, step 4 calculates v_member by taking a substring of P110_ID...and in all other fields, the column and the field (fxx) are the same value....except for c024.
    I am not certain exactly how to resolve, but see the problem.

  • APEX Dynamic Actions?

    Hello i'm trying to figure how how to have a dynamic action populate text fields.
    When the create button is hit, it will insert the record in the DB like normal.
    I had a search box doing a dynamic action when a record_number is entered and the selection changes
    It populates the remaining text boxes with the results of the record_number.
    I used a "SET_VALUE" true action on each individual ITEM
    For each individual item i have different SQL Statement populating that item.
    Ex. To populate Last_Name/ P2_LAST_NAME item i do the following
    Select LAST_NAME from patient_Demographics
    where record_id = :P2_RECORD_ID
    Affected Elements:
    P2_LAST_NAME
    So i have about 8 of these true statements, so i'm hitting the DB 8 times to get the individual items.
    Is there a way to hit the DB once and set the items using one PL/SQL statement?
    I tried using a PL/sql function body, i'll admit, it didnt know what i was doing, it didnt work

    Hi,
    So as you've found out, support for setting multiple affected elements in 4.0 is very limited. Are you definitely trying this out on 4.0? The reason I ask, is because we only introduced the 'Page Items to Return' attribute in 4.1.
    In 4.0, I would suggest falling back to a combination of a dynamic action, some JavaScript and a page level AJAX callback, as described here:
    Dynamic Action - setting the the value of multiple Affected Elements
    I think this should work better for you than trying to manipulate the 'Execute PL/SQL Code' action in 4.0 to do this.
    Hope that helps.
    Anthony.

  • Dynamic Action - How to enable  text field based on a condition

    Hi,
    I have two text items. Need to create dynamic action for the following,
    1. Order_type - Drop down values having CONSUMER & WHOLESALE.
    2. Order_number- Text field
    Order number should be disabled and only on selection of order type ,order number should be enabled.
    Can someone please help me on this?

    Hi Gayathri,
    Gayathri Venugopal wrote:
    Hi,
    I have two text items. Need to create dynamic action for the following,
    1. Order_type - Drop down values having CONSUMER & WHOLESALE.
    2. Order_number- Text field
    Order number should be disabled and only on selection of order type ,order number should be enabled.
    Can someone please help me on this?
    Create two dynamic action
    1. Make it order number item disable on page load.
       Event : Page Load
       Action : Disable
       Fire When event result is : True
       Selection Type : Item
       Item : Your order number item
    2 . enable and disable order number on selection of order type(assuming when order type is null it is disable otherwise it is enable)
        Event : Change
        Selection type : item
        Item : your order type item
        condition : is not null
    True Action
        Action : Enable
        Fire When event result is : True
        Fire on page load : True
        Selection Type : Item
        Item : Your order number item
    False Action
        Action : Disable
        Fire When event result is : False
        Fire on page load : True
        Selection Type : Item
        Item : Your order number item
    Hope this helps you,
    Regards,
    Jitendra

  • How to hide a Item ?

    How to hide a Item for exemple in a selectOneListBox ?
    Thanks

    I posted an example on my blog
    http://groundside.com/blog/GrantRonald?title=making_a_field_disabled_depending_on_the&more=1&c=1&tb=1&pb=1
    instead of the DISABLED property use RENDERED property
    or
    http://groundside.com/blog/GrantRonald?title=conditional_rendering_of_jsf_fields_depe&more=1&c=1&tb=1&pb=1
    Hope that helps
    Grant Ronald
    Oracle Product Management

  • How to hide some functions in the menu bar of flash paper

    Do anyone know how to hide some functions in the menu bar of
    flash paper? As I want to show a swf file(converted from pdf) on
    the website without printing function. How can I do it?
    Also, if possible, can anyone know how to hide all functions
    on the menu bar except the logo of flash paper?
    Thank you very much, it is very urgent.

    Here is an article about how to integrate flashPaper into
    Director. It has most of the functions that can be executed on
    flashPaper. Maybe it will help?
    http://www.adobe.com/devnet/director/articles/flashpaper_in_director.html
    and here is all his code
    http://www.mediamacros.com/item/item-1006687373/
    Note: it is for 1.01, but works with 2.0

  • How do I remove items from the cloud without losing them permanently?

    My icloud storage is almost full. How do I remove items from the cloud and not lose them?

    What items?
    Purchased music, movies, TV shows, apps, and books do not use up your iCloud storage.
    See the link below for how to reduce the amount of storage you're using:
    http://support.apple.com/kb/HT4847

  • How do you remove items from the assets panel that are duplicated?

    How do you remove items from the assets panel that are duplicated?

    If you add an item to a slideshow, you'll usually see 2 entries for that image in the assets panel - one represents the thumbnail, and the other represents the larger 'hero' image.
    It sounds like you may have added the same image to your slideshow twice. You can select one of the hero images or thumbnail images in your slideshow and use the delete key to remove it. Then the extra 2 entries in the assets panel should disappear.

  • How do you remove items from the start up disc

    How do you remove items from the start up disc?

    Freeing Up Space on The Hard Drive
    You can remove data from your Home folder except for the /Home/Library/ folder.
    Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
    Also see Freeing space on your Mac OS X startup disk.

  • How do I remove items from the dock?

    How do I remove items from the dock ?

    Single click and then drag it to the desktop. It will dissapear in a puff of smoke. You also may benefit by bookmarking and using:
    Find Out How Video tutorials

  • How do you delete items from the reading list?

    How do you delete items from the reading list?

    I'm trying to mark your reply as "solved my problem", but I can't see where to mark it. I tried to mark it in the email that came to me with your answer, but it went to a screen that said NOT FOUND. Help?

Maybe you are looking for

  • After SL upgrade can't download photos into i-photo 09

    it starts to download pictures but when it say import all I say yes and it goes but then it stops i can see it importing but its almost likes its stuck. Any ideas ??? When I check to see last imports its not my pictures in my camera. It works with my

  • Can I modify the column "Net Price" of purchase order to display 3 decimals

    Dear expert,      Can I modify the column "Net Price" of purchase order to display 3 decimals?      Looking forward to your reply.      Many thanks. Best Regards, Merry

  • Using f4 help for table field in module-pool

    Hi All, I am using a table-control in module pool programing. Fields are coming from MAKT table. I am trrying to provide a functinality so that when choose a material no using f4 help for MAKT-MATNR field the corresponding value of MAKT-MAKTX should

  • Roll back segments into READ-ONLY Mode

    To bring an v8 database into READ-ONLY Mode do we need to put the Roll back tablespace RBS also into READ-ONLY Mode?

  • App Switcher assigned to a gesture?

    With Snow Leopard I was able to call up my App Switcher with the swipe to the right gesture and quickly quit all or some apps by pressing Q and hovering over the application.  Is there a way to put this gesture back in OSX Lion?  I have looked everyw