Dynamic action on checkbox using jQuery selectors

Aim: Have a classic report with a checkbox for each record that fires a dynamic action. I'd like to source the relevant ID/value within Javascript (ultimately PL/SQL)
Consider a classic report using the following query
SELECT label
,apex_item.checkbox
  (p_idx   => 15 -- f42
  ,p_value => id
  ,p_attributes => 'id="f15_'||id||'" class="xyz"'
  ) chk
FROM   my_tableDefine a dynamic action with
Event: Click
Selection type: jQuery selector
jQuery selector: .xyz
No condition
Scope:Bind
I have an action executing javascript
var me = this.triggeringElement;
console.log('me:'||me);
console.log('name:'||me.attr('name') );
console.log('id:'||me.attr('id') );
console.log('value:'||me.prop('val'));Affected elements Selection type: Triggering element
When I run the page and check a box, the DA fires, but all output shown in the console log is blank.
I've tried copious variations to get this right, such as using $(this.triggeringElement)
These pages make me feel confident I have the syntax right
http://stackoverflow.com/questions/12038392/oracle-apex-checkbox-to-manipulate-other-values-when-checked-unchecked
http://iadviseblog.wordpress.com/2011/08/24/get-triggering-element-in-da/
But my values are still null?! Anyone know what I've missed?
Apex 4.1.1
Scott

var me = this.triggeringElement;
console.log('me:'||me);
console.log('name:'||me.attr('name') );
console.log('id:'||me.attr('id') );
console.log('value:'||me.prop('val'));<ul>
<li>Concatenation in javascript is with +* and not *||* (which means OR)</li>
<li>Also, this.triggeringElement is a reference to the DOM element, it is not a jQuery object. So wrapping it in $() is required when you wish to access properties through jQuery.</li>
<li>.prop('val') won't work. You need to check for the existence of a property-line attribute, which in case of a checkbox could be "checked".</li>
<li>dynamic action on a report: use scope Live to prevent functionality from working when the report is refreshed/paginated</li>
</ul>
var me = $(this.triggeringElement);
console.log('me:'+me);
console.log('name:'+me.attr('name') );
console.log('id:'+me.attr('id') );
console.log('value:'+me.prop('checked'));

Similar Messages

  • Dynamic action on LOV using tabular form

    Hello,
    I realize this has likely been dealt with somewhere already, but I'm going to ask anyway.
    I have a master/detail form. The detail form has an option to add rows. I have created a dynamic action as defined below...
    True Action:
    Sequence: 10
    Action: Javascript Expression
    Fire On Page Load: No
    Code: $(this.triggeringElement ).val()
    Sequence: 20
    Action: SQL Statement
    Fire On Page Load: No
    Code: select travel_status from territories_summary_v where territory_code=:P3_FIND_COUNTRY_CODE and language='US';
    Sequence: 30
    Action: Javascript Expression
    Fire On Page Load: No
    Code: $(this.triggeringElement).closest("tr").find("td[headers='TRAVEL_STATUS_CODE'] input").val($v('P3_FIND_COLOR'));
    The P3_FIND_COLOR and P3_FIND_COUNTRY_CODE are defined as hidden fields.
    This DA seems to partially work. It will update the travel status code with the proper value for each line. I can see it on screen. But when I apply changes it doesn't save this particular value to the database. If I physically go to the field and type something in, it will save this field. All other values save ok... just not this column .. regardless of the number of detail lines.
    Further to this, when I add a row and a new blank row appears, if I change the country, the DA does not fire at all. I've put an alert in on sequence 10 and the alert will fire for a pre-existing row in the table... but not a new row. I would have thought that because it's an onChange DA associated with the country code, it would work for each new row regardless of how many rows are added or whether its a new row vs existing row.
    So the first issue is why it won't save the data that is populated in travel status code when I can clearly see it there? Secondly, why this DA is not firing when I add a new row?
    If anyone can help me it would be appreciated. I've done a lot of searches but have not come up with much where these issues are concerned.

    There is no way to make a good guess on this without an example. It is hard to say what the reason could be.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to create a dynamic action from link column in classic report

    I Have an apex page that display a modal window utilizing jquery. In the modal window I have a classic report with a link column that I want to capture its click event.
    I was thinking I could create a dynamic action with selection type=jquery selector. Not for sure if I need to do anything on link column and do not know the syntax
    for jquery selector. Would appreciate any help or direction???

    Thank you for your response. I am very new to Jquery so don't understand all that well.
    What I did:
    I created a dynamic action
    Event: Click
    Selection Type: jQuery Selector
    jQuery Selector: tdheaders
    Created True Actions
    I created an alert to see if this is being executed.
    Alert 'I made it here'
    What I have:
    I created a report region with the following query:
    Select empno, ename, 'SELECT' from emp
    where (ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
    or :P2_SEARCHPU is null)
    I created 'SELECT' column as Link Column
    Report Attributes
    Link Text Select
    Target Page in this Application
    Page 2
    Region Header
    <div id="ModalForm2" title="Employee List" style="display:none">
    Region Footer
    </div>
    This report is displayed in a modal form when a button is clicked.
    Code for modal window in Page Header
    <script type="text/javascript">
    $( function() {
    $('#ModalForm2').dialog(
    { modal : true ,
    autoOpen : false ,
    buttons : {
    Cancel : function() {
    closeForm2();
    function openForm2()
    $('#ModalForm2').dialog('open');
    function closeForm2()
    $('#ModalForm2 input[type="text"]').val('');
    $('#ModalForm2').dialog('close');
    </script>
    I am trying to capture the click event on the link column of the report in the modal form. I want to pass a couple of column values
    back to the main form and close the modal window. I do not want to do the submit that happens if I click on the link column and link back to the main page(2)
    If I let the submit to happen, all other entered fields are cleared on my main form.
    Just don't understand the jQuery selector. I have no problem catching the button clicks on the modal form.

  • Dynamic actions and tabular forms

    I'm trying to attach a dynamic action to a tabular form item, and it's not working the way I'm expecting it to. Since you can't attach dynamic actions to parts of a tabular form in the "normal" way that you can for page items, I'm using JQuery selectors to pick the parts to link to. For links (such as opening a pop-up window with more information about a row), this is working fine. But I'm really struggling to attach to a simple checkbox.
    On my tabular form, I've got a simple checkbox. I've tried putting text in the Element Attributes, Element Option Attributes, CSS Class, CSS Style, and HTML Expression fields, but none of them appear to be making it through to the source code of the generated page. Which means, I think, that I'm limited to using a jQuery Selector along the lines of "input[name=f07]", but creating a dynamic action on click or on change with that selector doesn't seem to ever fire.
    What am I missing?
    -David

    Ok, this is interesting. When I tried to mock this up on apex.oracle.com, I was able to make it work (though I had to change the selector to "input[name=f07_NOSUBMIT]", which means I'm going to have to walk the DOM to get the actual value...but I'm pretty sure I can handle that). After a bit of scratching my head, I eventually found that my pop-up dynamic action was somehow or other blocking the checkbox dynamic action from firing. Changing the sequence so that the checkbox DA happens first allows them both to fire.
    Here's the javascript from the pop-up DA (it's based on this post by Havard Kristiansen):
    /* prevent default behavior on click */
    var trgt = this.triggeringElement.href;
    var e = this.browserEvent;
    e.preventDefault();
    /* Trigger JQuery UI dialog */
    var horizontalPadding = 30;
    var verticalPadding = 30;
    $('<iframe id="modalDialog" src="' + trgt + '" />').dialog({
         title: "Item Details",
         autoOpen: true,
         width: 570,
         height: 400,
         modal: true,
         close: function(event, ui) {$(this).remove();},
         overlay: {
              opacity: 0.5,
              background: "black"}
    }).width(570 - horizontalPadding).height(400 - verticalPadding);
    return false;At this point, the checkbox DA's action is simply an alert box. Like I said, I'm not sure what's going on, but I'm at least able to move forward...
    -David

  • Dynamic action in column of classic report

    Good day master!
    Hi im new in apex,, so im dynamic ondering if its posible to create a dynamic action in the column of classic report in apex?
    i'm trying but its not working my problem goes like this..
    i have a classic report stock_replenish
    columns
    item_code
    price
    supplier_name
    item_code is a pop-up loved by sql
    what i want to do is when the user choose a item_code it will also return the price and supplier_name
    i can do that in apex form but i dont know if iits posible to clasic report?
    please help!
    ty
    Myke;l

    Dynamic action on report columns is possible but not as straigth forward as on items.
    First you can't select "report colum" as selection type for the dynamic action. Use jQuery Selector instead.
    See the [url http://api.jquery.com/category/selectors/]jquery documentation  on possible selectors.
    I prefer to use something like[name='f01'].
    Use the developer tools of your browser to see the name of your report column.
    Because you can't submit a single report cell value with the action "Set value".
    You have to use a combination of a action "Execute javascript" and a ondemand process.
    The javascript code is something like
      var elementId,idParts,row;
      /*Determine the id of the element that has triggered the dynamic action*/
      elementId = String(this.triggeringElement.id);
      /*The id of a item in a report column consists of to parts the name and the rownumber*/
      idParts = elementId.split('_');
      /*The second part is the rownumber we need that to set the value in the right row later on*/
      row = idParts[idParts.length-1];
      /*This calls the ondemand process*/
      apex.server.process ( "MANAGER_EMAIL", {x01:$v(this.triggeringElement),x02:row}, {success: function( pData ) { $s(pData.r,pData.d) }} );apex.server.process(name ondemand process,values to be submitted,options)
    {x01:$v(this.triggeringElement),x02:row}
    This submits the values of the triggering element and the row on which all the action is happening.
    x01 refers to apex_application.g_x01
    {success: function( pData ) { $s(pData.r,pData.d) }}
    The succes option defines a function that is executed upon succefull completion of the ondemand process.
    The ondemand process returns a json object. Which we can refer to in the javascript function with pData.
    In our ondemand process we are defining the json object as having to properties.
    d and r . d is the display value and r is the id of the element to be set.
    $s(r,d) is a [url http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/javascript_api.htm#CDEEIGFH]apex javascript function that sets the value d to item with id r.
    Now the server side code. This is an application process with process point Ondemand.
    Which is something like this.
    declare
      cursor c_emp(b_employee_id in number)
      is
        select emp.email
        from   oehr_employees emp
        where  emp.employee_id = b_employee_id
      col_emp_email oehr_employees.email%type;
      v_regel       number;
    begin
      /*Get the employee email*/
      open  c_emp(apex_application.g_x01);
      fetch c_emp
      into  col_emp_email;
      close c_emp;
      /*Calculate the rownumber do this only if the triggering element is a popup lov*/
      v_regel := to_number(apex_application.g_x02) + 1;
      /*Create the json header*/
      APEX_PLUGIN_UTIL.PRINT_JSON_HTTP_HEADER;
      /*Print out the json object*/
      sys.htp.p('{"d":"'||col_emp_email||'","r":"f03_'||lpad(to_char(v_regel),4,'0')||'"}');
    end; For specification of the JSON notation see [url http://www.json.org/]http://www.json.org/
    To see this in action I have set up a [url http://apex.oracle.com/pls/apex/f?p=VANBAREN_FORUM_TRY_OUT:TBDA:0&c=VANBAREN]demo.
    Change the manager and the manager email will change.
    I hope this is enough to get you started.
    If you have a problem in translating the above code to your specific situation set something up on apex.oracle.com. Then the help can be more specific to.
    Nicolette

  • Dynamic action on tabular forms fields

    Hello guys.
    As I can see on the tabular form's fields I can't perform dynamic actions. What I want is to have a select list item when at the event Change it changes the values for all the records in that report. For example if I have 40 records in that tabular form and I change the value from "Open" to "Close to the field called Status, I want to see that change (Status value from "Open" to Close") reflected in all the rows of that tabular form. Is that make sense?
    Thank you, Bernardo.

    Hi Bernardo,
    There are several ways to accomplish what you want.
    - You can create a PL/SQL procedure to handle an update on all rows based on the value of your changed column value. I once wrote a blog post that might help you with that:
    http://vincentdeelen.blogspot.nl/2013/06/custom-multi-row-processing-using.html
    -You can create a dynamic action with javascript or jQuery to handle the change event.
    The first option is more secure since it's handled by the database, the second one is simpler and can instandly set all the entire column for all displayed rows, without the need to refresh your tabular form, or your entire page. For a secure working you should however have some validation at the database end. Also I think it is not possible to set the values for rows that are not displayed, that again would require some PL/SQL for handling.
    If you need any help setting up the dynamic action, please put up an example on apex.oracle.com.
    Regards,
    Vincent

  • V4.0 Dynamic Action - Problem with implementing disabling/enabling button

    I'm having trouble implementing the following APEX V4.0 dynamic action:
    The enabling/disabling of a button when a text field is not-null/null.
    I'm following the example in Oracle's Advanced APEX course notes Pgs 5-13 to 5-16. I can get it working with no problems using two text fields. The example states that the "Select Type" for the button is a DOM object and you then have to enter it's name in "DOM Object" attribute. The example uses a "CREATE" button in a region position. Is "CREATE" just the Name attribute of the object? Is that what we are suppose to enter here? Also my FIND button is a "button among the region items" and not a "button in a region position" as in the example. The name of the button is P1_PAT_TBRN_SEARCH but when I use it as the Dom Object, nothing happens. Also I am using the "Key release" event for the text field that must be not-null.
    I notice that Demitri Gielis on his blog couldn't get it working either (see last paragraph)
    http://dgielis.blogspot.com/2010/01/apex-40-dynamic-actions-part-1.html
    Any suggestions?
    thanks in advance
    Paul P
    Edited by: PaulP on Jun 2, 2011 12:01 PM

    Hi Paul
    Two separate situtations here:
    - html buttons
    - template based buttons, typically comprising multiple html elements
    HTML Buttons
    These should be easy to enable/disable using dynamic actions, specifying an appropriate DOM selector.
    Typically you would use the ID attribute of the button, so that's straight forward except for one catch..
    APEX supports a #BUTTON_ID# template substitution tag , but performs substitutions only for buttons in Region positions and not for button items.
    Use button attributes instead to assign a specific ID.
    Template Buttons
    Since these are made up of multiple elements, you need to treat them as a single object to be able to interact with them easily.
    APEX provides the apex.widget.initPageItem method to integrate plugins with the dynamic actions framework:
    apex.widget.initPageItem("P1_MY_ITEM", {
    enable: function(){},
    disable: function(){},
    getValue: function(){},
    setValue: function(){},
    nullValue: "%null%"
    });This provides you with a mechanism to over-ride one or all of these built-in methods with your own JS, to use custom code to enable/disable your template buttons.
    For an example on how this works, look in the uncompressed apex_widget_4_0.js file, search for the shuttle widget.
    You could just add code to initialize your template buttons manually, or better still create a plugin button to add the code automatically.
    This is reasonably advanced work to do, but you really have to take your hat of to the APEX team for providing the mechanism to do it.
    Regards
    Mark
    demo: http://apex.oracle.com/pls/otn/f?p=200801 |
    blog: http://oracleinsights.blogspot.com |
    book: Oracle Application Express 4.0 with Ext JS

  • HR_INFOTYPE_OPERATION called inside Dynamic action

    I am writing a subroutine called by dynamic action.
    Where using FM 'HR_INFOTYPE_OPERATION' i have to delimit or delete the records of infotype 0167.
    Although, HR_INFOTYPE_OPERATION, is executing with return is 0. but there is no change in the infotype reocrd.
    The same code written independent without called from Dynamic action, infotype record is been updated.
    Any help would be highly appriciated.
    Regards
    Manvir

    Also look at thread !!
    Re: Strange behavior of  FM u0093HR_MAINTAIN_MASTERDATA u0093
    and
    Re: Why does the NOCOMMIT parameter not work in HR_INFOTYPE_OPERATION?
    I’d recommend you to write BDC program . This FM is behaving in a weird way!!!
    <b>I used it only for 'INS' ...</b>
    Hope this’ll give you idea!!
    <b>P.S award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • Issue with Dynamic Actions - Infotype 0041 Updation

    Hi All,
    Requirement :
    I have to update the Date type-13 ( Resignation Date - DAR11 ) without Date ( DAT11 as Blank value - User will fill through Infogroup ) while performing the Termination action through PA40.
    Added below code in V_T588z (0000):
    I have added 186,188 Lines.Other lines are standard thing.
                  04     180     P     PSPAR-MASSN='10'/X  **Termination
                  04     181     P     PSPAR-MASSN='ZB'/X **Termination
                  04     182     P     PSPAR-MASSN='14'/X  **Termination
                  04     185     I     COP,41,,,(PSPAR-BEGDA),(PSPAR-ENDDA)/D
                  04     186     W     P0041-DAR11='13' **BEGIN & END OF CRA01670 CODE ***
                  04     188     W     P0041-DAR11='' **BEGIN & END OF CRA01670 CODE ***
    Issue :
    1. The above logic is not working for Finland ,other countries. For only India it is working.
    2. Some times Date type-13 is coming twice while through the Infogroup-0041 screen twice,which is incorrect. The infotype-0041 should call only once.I have checked the User parameters,MOLGA,USR. But it is not working.
    2. The standard configuration Date type -09-Last day of work - is working fine . But i could not be able to find ,from where it is coming.I have checked the Dynamic actions,but no use.
    Need your inputs to solve the issue.
    Thanks,
    N.L.Narayana

    P     P0000-MASSN='01'    Action type
    P                   P0000-MASSG="01"   Action Reaosn
    P     T001P-MOLGA='40'
    F                   here u will keep the Call Routine
    I     INS,2001,,,(P0000-BEGDA),(P0000-ENDDA)/D  (here u have pass the date of Call routine )
    W     P2001-IAWRT='01'
    But here Infotype 2001 we will give Absence type this IT is used for Booking Absence Types i did not get the Wage type 8001
    thru which IT are u processing it
    for more info Checjk Tabvke V_T588Z  here iam pasteing the sample call routine which i got from earlier thread
    Create a Program (Subroutine) using SE38. Save and activate it.
    ZZSY_DYA_TEST2
    REPORT ZZSY_DYA_TEST2.
    tables : p0000,p0001,rp50d.
    FORM getdate.
    rp50d-date1 = p0000-begda + 90.
    ENDFORM.
    FORM get_date.
    rp50d-date2 = p0000-begda + 180.
    ENDFORM.

  • Dynamic Actions in Visual Composer

    Hi,
    Can anyone help me with dynamic actions in VC.
    I am trying to open different popups based on my selection in a Drill Down Field.
    How can I do this?
    Where can I find an example for using Dynamic actions in Visual Composer?

    Hi
    Dynamic actions can be used to trigger actions when specific criteria is met. This can be used as a type of validation, checking if a specific field has been filled, to check if a user has permission to do a certain action. I have used it an it works in a simple model. I created a dynamic action using the following formula IF(@NUM1>1,'END','STORE') and then if the number was greater than 1 the application was stopped using an end point or data was stored using the STORE event and a datastore. You will get an error that the END and STORE events are declared but can not be raised, this will not cause a problem when you run the model.
    Jarrod

  • Dynamic actions query

    hello gurus
    Iam new to  HCM , i have a query when we go in   for dynamic actions configurations what does " PSPAR-MASSN " stand for and where can i see the  details for this .
    Regards
    Lakshmi

    hi,Lakshmi!
    While conifguring dynamic actions, you would use this term while checking conditions - to check whether a particular action type ( MASSN ) is being executed based on which you will execute the dynamic action.
    A typical dynamic action condition check will look somewhat like this :
    Itype : 0002
    FC : 04
    No : 903
    S : P
    Variable Function part : PSPAR-MASSN='01'
    Thus, through this step in the dynamic action you will be checking whether action type 01 is being executed.
    regards,
    Anirudha

  • Dynamic List of Checkboxes and their Default Values

    Hello,
    I have spent more than five hours feebly attempting to figure out how to make a dynamic list of checkboxes (using an LOV) adhere to the values in the database which those checkboxes represent. The LOV itself works; I can get a nice list of checkboxes with the appropriate names, but I can't get HTML DB to check the boxes that have a value of 'Y' in the database. The code for my LOV follows:
    SELECT mesg_name n, mesg_id r
    FROM notifications
    WHERE mesg_id = (SELECT mesg_id
                      FROM subscriptions
                      WHERE upper(network_id) = upper(:APP_USER))Since this is a dynamic list of checkboxes, I obviously cannot use the "Label" property to set the labels of each checkbox. That is what n is in the query above. r is the unique ID of the message (a varchar2) that I will need to pass back to the program after the page is submitted by the user for processing. I cannot take up the value field of the checkbox with a "Y" or something as equally vague. The ID of the subscription that the user is subscribing to or unsubscribing to must be passed back to the program so the appropriate modifications to the database table can be made.
    I would most appreciate it if anyone could lend assistance.
    Thank you,
    Marc Weil

    Marc,
    I think I see what you're trying to do. You'll have to separate process that renders the LOV as a series of check boxes from the process that sets the checked values for each user.
    Before the LOV is rendered on a page, make sure you set the session state value of the LOV item to a colon separated set of IDs based on your query:
    SELECT mesg_id
    FROM subscriptions
    WHERE upper(network_id) = upper(:APP_USER)
    If you have trouble, let me know, I'll try to come up with an example.
    Sergio

  • Radio button affecting dynamic action

    Hi
    I am trying to implement Radio Button in apex 4.1.1 , on selecting radio button , it show and hide regions. I got that working
    I was wonder if , i include more static value to radio groups and which are only shown , when authenticated user is logged in or is not a public user and then on selecting same non public radio button it show authenticated region only.
    All in same radio groups
    radio 1 show this to public user
    radio 2 (shown on logged in) when selected show this region.
    thanks in advance

    Hi,
    >
    I am trying to implement Radio Button in apex 4.1.1 , on selecting radio button , it show and hide regions. I got that working
    I was wonder if , i include more static value to radio groups and which are only shown , when authenticated user is logged in or is not a public user and then on selecting same non public radio button it show authenticated region only.
    All in same radio groups
    radio 1 show this to public user
    radio 2 (shown on logged in) when selected show this region.
    >
    Radio buttons are complex HTNL elements. While it is theoretically possible to manipulate then with JavaScripts it is simpler and better to have 2 separate items and hide/show them conditionally.
    If you must use one group then you will need to use jQuery selectors to get hold of the buttons individually. Look up the element in HTML DOM using browser "inspection" utilities, e.g. FF+Firebug, and you can work out the selector.
    Cheers,

  • ESS - Dynamic action

    Hi,
    I have dynamic action which works in  PA30 how ever when I am trying thru ESS then it is not triggered.
    when ever I enter phone number in IT0006 then it will update in IT0105**
    Is there any other settings  I need to do to work dynamic action thru ESS(portal)
    Regards,
    Ravi

    Hello,
    The portal does not trigger dynamic actions, you can use function module or user exits.
    Please refer to:
    Dynamic Action through ESS
    BR,
    Bentow.

  • Set checkbox session state using Jquery / dynamic action

    Hello Folks,
    I'm trying a simple dynamic action to disable & set element value upon making a radio box selection.
    What I'd like is:
    a) if i chose "Vendor" as "Traditional" (default value) I would like to set the "SNAP" flag as Checked and "Status" textbox to "test for static value" (SNAP flag is not set, only works on Page load)
    b) if i chose "vendor" as "Isilon" then "SNAP" flag should be greyed out (disabled) and "Status" textbox should be disabled. (Working as Expected)
    Link to the page:
    http://apex.oracle.com/pls/apex/f?p=73069:6:0::NO:::
    Workspace: wksp_chandu
    Username: test
    Password:test
    Dynamic Action
    Identification
    Page:
    6. Check Disable radio
    *Name(Value Required)
    *Sequence(Value Required)
    When
    *Event(Value Required)
    - Select Event -
    Change
    Click
    Double Click
    Get Focus
    Key Down
    Key Press
    Key Release
    Lose Focus
    Mouse Button Press
    Mouse Button Release
    Mouse Enter
    Mouse Leave
    Mouse Move  Page Load
    Page Unload
    Resize
    Resource Load
    Scroll   Select          
    After Refresh
    Before Page Submit
    Before Refresh
    Change Order [Shuttle]
    Custom
    Show unsupported...
    *Selection Type(Value Required)
    - Select Selection Type -
    Item(s)
    Button
    Region
    DOM Object
    jQuery Selector
    *Item(s)(Value Required)
    Condition
    - No Condition -
    equal to
    not equal to
    greater than
    greater than or equal to
    less than
    less than or equal to
    is null
    is not null
    in list
    not in list
    JavaScript expression
    *Value(Value Required)
    True Actions
    The following actions will be fired when the 'When' condition is met, or when it is 'No Condition'.
    Edit
    Sequence
    Action
    Fire On Page Load
    Selection Type
    Affected Elements
    10
    Clear
    Yes
    Item(s)
    P6_SNAP
    P6_STATUS
    20
    Disable
    Yes
    Item(s)
    P6_SNAP
    P6_STATUS
    Add True Action
    False Actions
    The following actions will be fired when the 'When' condition is not met.
    Edit
    Sequence
    Action
    Fire On Page Load
    Selection Type
    Affected Elements
    10
    Enable
    Yes
    Item(s)
    P6_SNAP
    P6_STATUS
    30
    Set Value
    Yes
    Item(s)
    P6_STATUS
    40
    Execute JavaScript Code
    No
    Item(s)
    P6_SNAP
    Add False Action
    Thanks!
    Chandu

    Oops...I just got it working.. Thanks for your time. I was trying to set checkbox value via javascript code and somehow that wasn't working...Finally changed the setvalue to be based on "PL SQL expression" nvl(:P6_SNAP,1)...that seem to have worked.
    Thanks again !

Maybe you are looking for