Cannot hide Rich Editor item onload via Dynamic Actions

Hi,
I have textarea and rich editor items that I have to show/hide vice versa based on select list item value.
I have created Dynamic Actions to Show/Hide items on 'Cnange' event when value of select list: P23_FORMAT equals 1
True Actions:
Show P23_TEXT
Hide P23_TEXT_RICH
False Actions:
Hide P23_TEXT
Show P23_TEXT_RICH
All actions have the value of attribute 'Fire On Page Load' set to 'Yes'.
The select list value has computation 'before header' which set P23_FORMAT = 1. So it should display P23_TEXT textarea and Hide P23_TEXT_RICH on page load. But both items are displayed though the label of P23_TEXT_RICH item is hidden.
If I change computation to P23_FORMAT = 2 then all work as expected: P23_TEXT is hidden and P23_TEXT_RICH item is displayed correctly.
What's wrong with my settings? I need display the textarea by default on the first page load.
Thanks.

Hi,
look like a bug for Rich Editor item. All works fine when I avoid using this item type in DA.

Similar Messages

  • Refresh pl/sql anonymous block via dynamic action?

    Greetings again to the community!
    Something I must be misunderstanding.
    I want to dynamically (ajax) update a select list depending on a page item. Now when you research for operations like this, you get some examples - but which mostly are older and... contain a lot of coding. So I am wondering if this is to be achieved in a simple way using dynamic action.
    I have created a testcase here where the html for a select list ist created in a pl/sql anonymous block like that:
    begin
    for i in (select EMPNO, ENAME from EMP
            where DEPTNO = :P50_DEP_NO or
                     :P50_DEP_NO is null)
          loop
      htp.p('<option value="' || i.EMPNO || '">' || i.ENAME || '</option>');
      end loop;
    end;Region header and footer contain the tags for <select id="selEmps"> ... </select>.
    When you press [Btn Update Sel], a dynamic action is triggered, that submits :P50_DEP_NO, then refreshes the region with the pl/sql code, so that, after you have enteres another value in :P50_DEP_NO, the select list then shows the employees of that department. Thats the plan, but
    Its not working! Can anyone tell me, what I have overlooked here, please?
    Thank you and good night for now,
    tobi

    Hi Marko,
    thanks for your hint. I have already tought about that, but im not sure if this is the solution of this particular situation, because the list really should be generated html-code for formating reasons with jQuery UI and further processing. But I have not worked so much with cascading LOVs, so I really should look into it further.
    If I dont find a solution there, I'll get back here.
    Thanks and so long,
    tobi

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

  • Dynamic Action infinite loop

    Hi,
    I have a page with number of days, start date and end date.
    If I change the number of days, I want to set the end date based on start date + num days.
    I also want to go the other way so if they enter an end date, it will calculate the number of days.
    I have dynamic actions for these and they both work fine. The problem is I get a Stack Overflow error after about a second. I assume it is stuck constantly running the 2 dynamic actions one after another, each triggering each other.
    Has anyone else had this issue? And how did you solve it?
    Thanks
    Richard

    Richard,
    Where you have Ajax based dynamic actions ('Set Value' and 'Execute PL/SQL Code') that attempt to save some item's value in session state (via the 'Page Items to Submit' attribute), you will definitely hit issues if SSP is enable for those particular items. This also effects other places where item values can be set via AJAX (Interactive report regions and cascading LOVs), not just in dynamic actions.
    The reason this doesn't work is is because it is not possible to generate a valid checksum on the client, in order for the item to be submitted successfully. In fact, providing a mechanism to calculate a checksum on the client would obviously open up a whole new security vulnerability.
    You can workaround this by evaluating each page item that you wish to set via dynamic actions and seeing if you can switch off SSP (setting to 'Unrestricted') for just that specific item. You can still have SSP enabled for the application and page, and for other page items, importantly including whichever item stores the primary key or where you have some other vulnerable value stored in some page item.
    I have also filed a documentation bug to better explain this in the help text. Patrick also filed an enhancement request for the 'Advisor', so that it checks if SSP is enabled for any page item values that are set from one of these places and alerts the user accordingly.
    Hope this helps.
    Anthony.

  • How to make a default value by using dynamic actions

    Hi,
           I want to default a field nationality in infotype 0002 as a great britan, using dynamic actions but unable to go ahead. Any help regarding this really appreciate.
    Regards
    Niranjan

    Hi,
    I need some guidance around creating dynamic action with default value, Please guide me through.
    I am aware I can set default values for new infotype, but I need to set default value for same infotype, let me explain the scenario.
    Currently employee is on one pension scheme which is called NE1 and now we are moving this employee to CRESP Pension Scheme.
    When employee is in NE1, his IT0071 has got a opt in field with a flag on, when the same employee is moved from NE1 pension scheme to CRESP Pension scheme, his new IT0071 record should have the same opt in field with a flag on, I want it to set this flag automatically using dynamic action. I dont want to update this field manually, while moving from NE1 to CRESP.
    Currently the below dynamic  action is coded when employees are being moved form NE1 to CRESP, but now they will have a opt in flag which should appear automatically, What needs to be done to make this happen?
    Please let me know if I set default value for the Opt in field for the same infotype.
    . When employees are being moved from NE1 to CRESP pension scheme we currently use a dynamic action as show below:
    0071                      04      10      I        INS,0069
    0071                      04      20      W       P0069-BEGDA=P0071-BEGDA
    0071                      04      30      W       P0069-ENDDA=P0071-ENDDA
    0071                      06      1        F        DYNACT_PAE031(ZHRPROG016)
    Also if it is not possible via dynamic action could you please explain how to create it using user exit, I am not an ABAPer.
    Your help is very much appreciated.
    Kind Regards,
    SK

  • Dynamic Action on tabular form: to auto set value for all changes rows

    Hi All:
    I am using APEX4.2.3 and I am not very familar with JQUERY or Javascript.
    I am having a tabular form to support Update and Delete action. The tabular form has 4 columns:
    Column A: ID                      (Number)     : Read-only column
    column B: Name                 (Varchar2)   : Editable
    Column C: Age                    (Number)     : Editable
    Column D: ChangeFlag      (Varchar2)   : Read-only column                             ==> however, I want this column been automatically upldated by my APEX application
    Here is the requirement: First user update Column B, or C or both for # of rows; then user click "Save Change" button. For ALL updated rows, I need to automatically update Column D with below logic:
    For a given row,
                   IF Column D IS NULL  THEN
                         set value = 'M'                           -- M means modified
                   ELSE --- column D has a value already
                        IF last character of Column D is 'M', THEN
                               don't do anything;
                        ELSE
                              set value of D = existing value + 'M'                       (here + means concatenate
                       END IF;
                END IF;
    I thought this can be done by creating dynamic action on tabular form ... I have researched this on this forum and can't find a good match example ..
    I know I can implement this using a DB trigger; however, I want to learn if this can be achived via Dynamic Action.
    Thanks!
    Kevin

    Hi Expert:
    Anyone can offer any direction or help on this?
    Thanks!
    Kevin

  • Dynamic action - Cache server data

    APEX 4.2.2
    Is there a way to cache server side data in a global (page/document level) Javascript vector (bunch of key-value pairs) (associative array, array of objects or some such)? This way the data can be used by subsequent dynamic actions' Javascript code without querying the server over and over.
    I see that apex_util.json_from_sql is still undocumented after all these years. Are there any examples of using that API to do this sort of thing? Can someone please share?
    Thanks

    https://apex.oracle.com/pls/apex/f?p=57688:24
    I took a shot at this and it seems to work well using Javascript global objects for data storage. Hope this helps someone.
    1. Page attributes - Javascript global variables var gData,gLookup={};2. On-demand application process Get_Emps as apex_util.json_from_sql('select empno,ename from emp');3. Page Load dynamic action to invoke the application process and cache the data var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=Get_Emps',$v('pFlowStepId'));
    var retval=get.get();get=null;
    gData=apex.jQuery.parseJSON(retval);
    $.each(gData.row,function(i,obj){
       gLookup[obj.EMPNO]=obj.ENAME;
    });4. EMPNO page item - Standard OnChange dynamic action to SetValue of ENAME page item using the cached data - Javascript expression gLookup[$v(this.triggeringElement)]
    We document something when it is ready to be supported. This specific procedure isn't something we haven't invested in, and thus, per our discretion, have elected not to document or support it at this time.Fair enough.

  • Custom program for dynamic actions in BDC

    Hi all,
    Did anyone work on dynamic actions in BDC. I got a method of doing, but looking out for a simpler one.
    Thanks..

    Hi,
    Any updates that happen via dynamic actions in online mode must be explicitly included in the BDC session since dynamic actions are turned off during the execution of batch input sessions.this is a standard behavior.
    Regards,
    Manoj.

  • Is Dynamic Actions Limited

    Is there a limit on the number of Dynamic Actions we can have on a page..
    were at a point when we create another dynamic action and run the page we get 'page cannot be found'
    if we delete a dynamic action, any of them then the page runs.
    but if we create another, 'page cannot be found' again..
    its like we have hit some sort of limit..
    apex 4.0.0.00.46

    so, its fixed with upgrade the latest patchset.
    i've the same problem with version 4.0.0.00.46.
    tks.
    NOTE: (if someone have this problem)
    apparently no limit to the dynamic actions, only for the javascript code lines. possible solution, if it has a lot of javascript code in the dynamic actions, create javascript functions or procedures in section "Function and Global Variable Declaration" in "Edit page" area and call them by dynamic actions.
    Edited by: atondo.luis on Jun 30, 2011 5:02 PM

  • Executing dynamic action JS then plsql code with checkbox.

    All,
    I have a checkbox which when clicked i want to run javascript expression then next plsql code in that sequence. But iam getting the first issue here when i put in JS an expression like document.getElementById("P111_CHECK1").value ... or even document.getElementById("P111_CHECK1").checked i always get undefined error. So how can i determine if the checkbox is checked or unchecked in DA? thanks in advance.

    Hi,
    still stuck here on how do i check/uncheck a single checkbox in Apex i tried via dynamic action JS expression like this but doesnt work ==> document.getElementById("P111_CHECKBOX1").checked = true/false; Any help on this pls?

  • Would I use Dynamic Actions for this?

    As part of my hiring action, I would like to trigger an email to the Org's chief once the employee record is created. Is this done via Dynamic Actions? If so, can someone give me a step-by-step on how to set that up?
    Thanks!

    Hi you can use code like this in table T588Z
    Infotype
    |0000 |    |          |06|101|P|P0000-MASSN='E9'| check Action Type
    |0000 |    |          |06|102|P|P0000-MASSG='02'| check Reason for Action
    |0000 |    |          |06|103|P|PSPAR-PERSG='4' | check Employee group
    |0000 |    |          |06|104|W|PSPAR-PERSG='6' | check employee subgroup
    |0000 |    |          |04|105|M|M0001           | call a feature
    With this feature M0001 I think you can make it
    M0001 Parameter Settings for Mail on Change to Infotype Record
       Object
         Feature
       Task
         This feature enables you to control who is sent a mail, the text sent,
         and the processing type used.
       Use
         The feature can be used for all master data infotypes for both employees
         and applicants.
       Note
         Decision field TCLAS enables you to control whether processing is
         carried out only for employees (TCLAS=A) or only for applicants
         (TCLAS=B).
       Procedure
         The return matrix of the feature has the following form: XXXXX ZZZZZ
         XXXXX Mail attribute
         o   IDTXT - Name of a standard text. The first line is used as a title,
                     therefore you should formulate the mail after the second
             line
                     of the standard text. The above variable is entered. You can
                     only activate the infotype fields that trigger a mail.
         o   RECV1 - Recipient 1 is the administrator for HR master data from the
                     Organizational Assignment infotype (0001) who is responsible
                     for the employee on today's date.
                     For applicants this is the personnel officer.
                     The user name contained in T526 is converted into an office
                     name. This conversion takes place for RECV2 and RECV3.
         o   RECV2 - Recipient 2 is the payroll administrator taken from
                     the Organizational Assignment infotype (0001) who is
                     responsible for the employee on today's date.
                     This field is not supported for applicants.
         o   RECV3 - Recipient 3 is for the Time Management administrator taken
                     from the Organizational Assignment infotype (0001) who is
                     responsible for the employee on today's date.
                     This field is not supported for applicants.
         o   SUBTY - You want the employee whose data is changed to receive an
             e-mail
                     Here you specify which subtype is to be used to read the
                     employee's infotype 0105 record, that is, in which subtype
             you
                     store the employee's mail name. The employee only
                     receives a mail if SUBTY is filled.
         o   OUTBX - The mail should be in the sender's outbox.
         o   DISTR - Distribution list that is stored in the general folders
                     in SAP-Office (Transaction SO04).
         o   NAME1 - If the infotype that triggers the mail is not the
                     Organizational Assignment infotype (0001), then the feature
                     specified is read.
                     You can define distribution lists and recipients in
                     this feature. The standard SAP system contains the
                     feature RCIEV, which can be used as an example.
         o   NAME2 - If the infotype that triggers the mail is the
                     Organizational Assignment infotype (0001),
                     then the feature specified will be read
                     using the new data contained in infotype 0001. New data
                     means data contained in an infotype record for infotype
                     0001 that has been changed after the mail was sent. You
                     can define a distribution list and a recipient in this
             feature.
                     The standard SAP system contains the feature RCNEW,
                     which can be used as an example.
         o   NAME3 - If the infotype that triggers the mail is the
                     Organizational Assignment infotype (0001),
                     then the feature specified here, will be
                     read using the old data contained in the infotype. Old
                     data means data prior to changing the infotype record that
                     triggered a mail to be sent. You can define distribution
                     lists and recipients in the feature. The standard SAP
                     system contains feature RCOLD, which can be used as an
                     example.
         You can give a mail a process. The recipient of the mail can start the
         transaction specified from the mail:
         o   TCODE - Transaction code
         o   PAINF - Infotype
         o   PASUB - Subtype
         o   PABEG - Begin date
         o   PAEND - End date
         o   PAFCD - Function code (OKcode)
         ZZZZZ 30-character value that is entered in the field.
         o   XXXXX = IDTXT: ZZZZZ is a standard text from SAPScript with the text
             ID PAMA (Transaction SO10)
         o   XXXXX = RECV1, RECV2, RECV3: ZZZZZ=X is the appropriate
             administrator who is to receive the mail
         o   XXXXX = SUBTY: ZZZZZ is 4-digit subtype for the infotype 0105
         o   XXXXX = OUTBX: ZZZZZ=X the mail is put in the sender's outbox
         o   XXXXX = TCODE: ZZZZZ=PA30, PA20, PB30 or PB20
         o   XXXXX = PAINF: ZZZZZ is the 4-digit number of an infotype
         o   XXXXX = PASUB: ZZZZZ is the 4-digit number of a subtype
         o   XXXXX = PABEG, PAEND: ZZZZZ= either an 8-digit date in the format
             YYYYMMDD, e.g. ZZZZZ=19950630 for "30.06.1995", or enter the name of
             a variable in inverted commas, e.g. ZZZZZ='P0001-ENDDA'. The
             following exist: P0001-BEGDA, P0001-ENDDA, P0002-BEGDA, P0002-ENDDA,
             Pnnnn-BEGDA, Pnnnn-ENDDA, nnnn is the number of the infotype that
             triggers the mail to be sent.
         o   XXXXX = PAFCD: ZZZZZ=COP  Copy, ZZZZZ=DEL  Delete, ZZZZZ=DIS
             Display, ZZZZZ=EDQ  Lock/Unlock, ZZZZZ=INS  Create, ZZZZZ=MOD Change
         By using the operation NEXTR, you will jump into the feature's
         subsequent line. The last line of an action is closed with commas (not
         NEXTR).

  • Dynamic Action in CKE Editor / rich text

    Dear fellow developers,
    I created some dynamic actions in Apex 4.1.1, which allow me to create function keys in my application.
    For example on "key-down F10" a modal dialog opens or upon hitting "F11" the user is redirected.
    While this works as long as my Selection Type is DOM object "document", the actions are not fired once I enter the rich text editor (CKE) and it has received focus.
    Have you got an idea how to solve this problem?
    Creating an identical dynamic action and setting the Selection Type to jQuery Selector #cke_2 is to no avail.
    Many thanks,
    Sebastian

    No one having a hint?
    It is obviously due to the fact that the ckeditor is embedded in an iframe, which I don't have a selector for.
    I was able to add an id "#ckeditor" to the body of the iframe content but the usage of it fails.
    Maybe some code will illustrate it a little better:
    <span id="cke_P8_STR_BEARBEITUNG" class="cke_skin_kama cke_2 cke_editor_P8_STR_BEARBEITUNG" lang="de" style="width: 748px;" aria-labelledby="cke_P8_STR_BEARBEITUNG_arialbl" role="application" title=" " dir="ltr">
    <span id="cke_P8_STR_BEARBEITUNG_arialbl" class="cke_voice_label">WYSIWYG-Editor</span>
    <span class="cke_browser_gecko" role="presentation">
    <span class="cke_wrapper cke_ltr" role="presentation">
    <table class="cke_editor" cellspacing="0" cellpadding="0" border="0" role="presentation">
    <tbody>
    <tr role="presentation" style="-moz-user-select: none;">
    <tr role="presentation">
    <td id="cke_contents_P8_STR_BEARBEITUNG" class="cke_contents" role="presentation" style="height:100px">
    <iframe frameborder="0" allowtransparency="true" tabindex="0" src="" title="WYSIWYG-Editor, P8_STR_BEARBEITUNG, drücken Sie ALT 0 für Hilfe." style="width:100%;height:100%">
    <html lang="de" dir="ltr">
    <head>
    <body id="ckeditor" class="ckeditor cke_show_borders" contenteditable="true" spellcheck="true">
    </html>
    </iframe>
    </td>
    </tr>
    <tr role="presentation" style="-moz-user-select: none;">
    </tbody>
    </table>
    </span>Edited by: skahlert on 13.04.2012 10:53

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

  • Cannot hide purchases on iOS 8.2 via iPad 4 and iPhone 4S

    Hello!
    Cannot hide purchases on iOS 8.2 via iPad 4 and iPhone 4S
    When I try to slide to left and press hide purchase it disappears but after reopen AppStore - it still remains
    How it can be fixed?
    Thanks!

    Try hiding them via your computer's iTunes : click on your name towards the top right of your iTunes and then click Purchased on the popup
    Or click on the Purchased link under Quick Links on the right-hand side of the iTunes store homepage.
    Select the Apps section and hover your mouse pointer over the top left-of the app that you want to hide and click and it should disappear from that screen and from Purchased on your iPad and iPhone. (An 'x' should show on the top left corner when you hover your mouse pointer over the app, but on my Mac's iTunes, which is up-to-date, the 'x' doesn't show in the Apps section, but does show for music, films, TV programmes ; it still appears to be there as clicking the top left hides the app, it's just that the 'x' is invisible.)

  • Hide/Show Dynamic Action Stopped Working

    Good Morning,
    Once I upgraded my application to Apex 4.2.2, my dynamic action stopped working. It worked fine in 4.1.
    I also used javascript to hide/show my fields.
    code below
    <script language="JavaScript" type="text/javascript">
    function onPgLoad()
    //hides reporting select, unless certain utcs are selected they are selected
      var ForceGenUTCSrch = $v('P310_FORCE_GEN_UTC_SRCH');
      var RptMenu         = $v('P310_REPORT_MENU');
    if  (RptMenu == '1'&&(ForceGenUTCSrch == '0GTAA' || ForceGenUTCSrch == '8MMUB' || ForceGenUTCSrch == 'CCMAR' || ForceGenUTCSrch == '0GQGC' || ForceGenUTCSrch == '0GQGB' || ForceGenUTCSrch =='3NNNA' || ForceGenUTCSrch == '3PQAA' || ForceGenUTCSrch == 'XMCAS' || ForceGenUTCSrch == '8NJAA' || ForceGenUTCSrch == 'XMMCB' || ForceGenUTCSrch == '9VCBH' || ForceGenUTCSrch == '3PNAA' || ForceGenUTCSrch == '3PLFA' || ForceGenUTCSrch == '3PMAA' || ForceGenUTCSrch == '3NSAA' || ForceGenUTCSrch == '8NHAA' || ForceGenUTCSrch == 'CBSAD' || ForceGenUTCSrch == 'CCVAA' || ForceGenUTCSrch == '9VDLB' || ForceGenUTCSrch == '3NHAA' || ForceGenUTCSrch=='1HDAA' || ForceGenUTCSrch=='0EZ99' || ForceGenUTCSrch=='0JZ99' || ForceGenUTCSrch=='1AZ99'|| ForceGenUTCSrch=='9YZ99' || ForceGenUTCSrch=='CUZ99'))
        var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);
       gReturn=get.get();
        $x_ShowItemRow('P310_FORCE_GEN_RPRTG_ORGN');
       else
         $x_HideItemRow('P310_FORCE_GEN_RPRTG_ORGN');
    </script>
    <script language="JavaScript" type="text/javascript">
    function FunSelUTC()
    //hides reporting select, unless certain utcs are selected they are selected
      var ForceGenUTCSrch = $v('P310_FORCE_GEN_UTC_SRCH');
      var RptMenu         = $v('P310_REPORT_MENU');
    alert(RptMenu);
    if  (RptMenu == '1'&&(ForceGenUTCSrch == '0GTAA' || ForceGenUTCSrch == '8MMUB'|| ForceGenUTCSrch == 'CCMAR' || ForceGenUTCSrch == '0GQGC' || ForceGenUTCSrch == '0GQGB' || ForceGenUTCSrch =='3NNNA' || ForceGenUTCSrch == '3PQAA' || ForceGenUTCSrch == 'XMCAS' || ForceGenUTCSrch == '8NJAA' || ForceGenUTCSrch == 'XMMCB' || ForceGenUTCSrch == '9VCBH' || ForceGenUTCSrch == '3PNAA' || ForceGenUTCSrch == '3PLFA' || ForceGenUTCSrch == '3PMAA' || ForceGenUTCSrch == '3NSAA' || ForceGenUTCSrch == '8NHAA' || ForceGenUTCSrch == 'CBSAD' || ForceGenUTCSrch == 'CCVAA' || ForceGenUTCSrch == '9VDLB' || ForceGenUTCSrch == '3NHAA' || ForceGenUTCSrch=='1HDAA' || ForceGenUTCSrch=='0EZ99' || ForceGenUTCSrch=='0JZ99' || ForceGenUTCSrch=='1AZ99' || ForceGenUTCSrch=='9YZ99' || ForceGenUTCSrch=='CUZ99'))
         //alert(ForceGenUTCSrch);
        var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);
       gReturn=get.get();
         $x_ShowItemRow('P310_FORCE_GEN_RPRTG_ORGN');
       //  $('#FORCE_GEN_REPORT1#').show();
       else
         //alert(ForceGenUTCSrch);
         $x_HideItemRow('P310_FORCE_GEN_RPRTG_ORGN');
        // $('#FORCE_GEN_REPORT1#').hide();
    </script>
    javascript: onload="onPgLoad();"I kept the code just in case I needed it @ a later time.
    My Dynamic Action
    Event: on change
    item --> :p310_force_gen_utc_srch (this is a select list that submits)
    conditon --> in list
    value --> '0GTAA', '8MMUB', 'CCMAR', '0GQGC', '0GQGB', '3NNNA', '3PQAA', 'XMCAS', '8NJAA', 'XMMCB', '9VCBH', '3PNAA'
    True Action --> show :p310_force_gen_rprtg_orgn
    False Action --> hide :p310_force_gen_rprtg_orgn
    They both fire on page load.
    The :p319_utc_srch has submits the page because the :p310_force_gen_rprtg_orgn lov runs a query to pull back that units reporting orgs only.
    Please help me figure this out.
    Thanks,
    Mary
    Edited by: MaryM on May 10, 2013 10:52 AM

    Hi Mary,
    So you changed from the code presented to a DA ? I'm not clear as to exactly happens or doesn't happen.
    Do you know if your AJAX calls are failing?
    If you use a Console like the one on Firebug or Chrome you can inspect what's being send and what's being returned.
    I mention this because your htmldb_Get calls looks suspicious.
    var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);I would change it to
    var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',$v('pFlowStepId'));That would pass the app_id and the page_id that is calling. Although this is probably not your current issue.
    See if you can find some javascript error. It's possible that this is a timing problem as to when the code is defined and when it's loaded.
    Thanks
    -Jorge

Maybe you are looking for