Dynamic Action in Apex - Select list to Text field

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
When a user selects CONSUMER, order number should automatically change to '1-' and user can enter only 14 characters (1-236666666666).
When a user selects WHOLESALE, order number should automatically change to '2-' and user can enter only 12 characters (2-2155555555).
Can someone please help to resolve this issue.
Thanks in advance.

Hi Gayathri,
Gayathri Venugopal wrote:
Thanks Kiran. Actually ,order number should be disabled. only on selection of  order type, order number should be enabled, how do I do that?can you please help
I can do fire on page load and disable order number .But how do i enable it again on selection of order number
    Let's say '1-' is prefix for Order Number when Order Type is 'CONSUMER' and '2-' is the prefix for Order Number when Order Type is 'WHOLESALE'.
    So a solution to your issue would be:
Go to Page Attributes -> CSS -> Inline CSS and add the following class:
.item_disabled {
  cursor: default;
  opacity: 0.5;
  filter: alpha(opacity=50);
  pointer-events: none;
Create three elements PXX_ORDERNUM_PRE, PXX_ORDERNUM_SUF(as text Items) and PXX_ORDER_NUMBER(as hidden. Set Value Protected -> No).
Arrange the PXX_ORDERNUM_PRE and PXX_ORDERNUM_SUF on one row.
Set the "HTML Form Element Attributes" for PXX_ORDERNUM_PRE to this:
readonly="true"
Set the "HTML Form Element CSS Classes" for PXX_ORDERNUM_PRE to this:
item_disabled
    NOTE : The above two points are to make the PXX_ORDERNUM_PRE element readonly, because if we disable the element we can't assign it a value.
On the change event of PXX_ORDER_TYPE select list create dynamic action to populate PXX_ORDERNUM_PRE (as mentioned earlier)
var ordertype = $('#P11_ORDER_TYPE').val();
if (ordertype === 'CONSUMER') {
  $('#P11_ORDER_NUMBER_PRE').val('1-');
} else if (ordertype === 'WHOLESALE') {
  $('#P11_ORDER_NUMBER_PRE').val('2-');
Create an on-submit computation to concatenate PXX_ORDERNUM_PRE and PXX_ORDERNUM_SUF into PXX_ORDER_NUMBER.
Create validation on PXX_ORDERNUM_SUF, if PXX_ORDER_TYPE is 'CONSUMER' the length should be 12 characters, if 'WHOLESALE' the length should be 10 characters.(excluding 2 characters of prefix).
     So this covers the following:
On change of Order Type, Order Number Prefix should be set.
Order Number Prefix should be not able to be modified, but the rest of Order Number should be able to be entered by user.
Order Number should be of specific length depending upon the Order Type.
     Hope this helps!
Regards,
Kiran

Similar Messages

  • Dynamic actions in two select list

    Hi all,
    I have created two select lists.one is parent another is child.
    i can get the child list values correctly using cascading lov parent item
    Eg: parent item values company name :x,y,z etc
    x having 3 clients say a,b,c
    there is no client for y
    z having 2 clients say d,e
    now i want to hide the child item once the parent having no child.
    The moment when i select 'y' for the above example i want to hide the child item.
    How can i do that?

    Hi,
    You can do the following:
    1. Create a hidden page item, say PX_HIDE_SHOW_FLG
    2. Create a Dynamic Action of the type "Set Value" on the parent item to update PX_HIDE_SHOW_FLG. You can choose the "Set Type" as "PL/SQL Function Body". The function code should return 'Y' or 'N' based on the logic (count the number of children under the selected parent). You can trigger this DA on "change" of the parent item.
    3. Now, create another DA on PX_HIDE_SHOW_FLG to hide/show the child LOV item based on its value. For, example, if value (of the hidden page item) = 'Y', then hide, else show.
    Thanks,
    Rohit

  • Replace Select List with text field in Collection Code

    hi
    i am using an Collection Code .i have used an java script code to fetch rate of item with out refresh in column *(APEX_ITEM.SELECT_LIST_FROM_QUERY(10,a.c009).*
    My problem is this column is Select List but i want to use in textfield here.
    This is my Rate Column . How can i Replace it with textfield like APEX_ITEM.TEXT
    APEX_ITEM.SELECT_LIST_FROM_QUERY(10,a.c009,'SELECT RATE D, RATE R FROM ITEM_DETAILS WHERE ITEM_NAME =''' || a.c006|| '''',
    This is my Collection code
    select APEX_ITEM.HIDDEN(1,SEQ_ID),
    APEX_ITEM.TEXT(2,a.c001) c001,
    APEX_ITEM.TEXT(3,a.c002) c002,
    APEX_ITEM.TEXT(4,a.c003) c003,
    APEX_ITEM.TEXT(5,a.c004) c004,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(6,a.c005,'SELECT ITEM_GROUP D,ITEM_GROUP R FROM ITEM_GROUP_DETAILS order by ITEM_GROUP',
    'style="" '
    ||'onchange="get_select_list_xml(this,''f7_'|| LPAD (seq_id, 4, '0')
    ||''')"',
    'YES',
    '0',
    '-Select-',
    'f6_'|| LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c005,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(7,a.c006,'SELECT ITEM_NAME D,ITEM_NAME R FROM ITEM_DETAILS WHERE ITEM_GROUP =''' || a.c005|| '''' ,
    'style=""'
    ||'onchange="get_select_list_xml21(this,''f10_'|| LPAD (seq_id, 4, '0')
    ||''')"',
    'YES',
    '0',
    '-Select Name -',
    'f7_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c006,
    APEX_ITEM.TEXT(8,a.c007) c007,
    APEX_ITEM.TEXT(9,a.c008) c008,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(10,a.c009,'SELECT RATE D, RATE R FROM ITEM_DETAILS WHERE ITEM_NAME =''' || a.c006|| '''',
    'style=""',
    'YES',
    '0',
    '-Select Rate -',
    'f10_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c009,
    APEX_ITEM.TEXT(11,a.c010) c010
    FROM APEX_collections a
    where a.collection_name = 'ABC'
    Thanks
    Manoj Kaushik
    Edited by: Manoj Kaushik on Mar 11, 2010 1:25 AM

    hi
    i am using an Collection Code .i have used an java script code to fetch rate of item with out refresh in column *(APEX_ITEM.SELECT_LIST_FROM_QUERY(10,a.c009).*
    My problem is this column is Select List but i want to use in textfield here.
    This is my Rate Column . How can i Replace it with textfield like APEX_ITEM.TEXT
    APEX_ITEM.SELECT_LIST_FROM_QUERY(10,a.c009,'SELECT RATE D, RATE R FROM ITEM_DETAILS WHERE ITEM_NAME =''' || a.c006|| '''',
    This is my Collection code
    select APEX_ITEM.HIDDEN(1,SEQ_ID),
    APEX_ITEM.TEXT(2,a.c001) c001,
    APEX_ITEM.TEXT(3,a.c002) c002,
    APEX_ITEM.TEXT(4,a.c003) c003,
    APEX_ITEM.TEXT(5,a.c004) c004,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(6,a.c005,'SELECT ITEM_GROUP D,ITEM_GROUP R FROM ITEM_GROUP_DETAILS order by ITEM_GROUP',
    'style="" '
    ||'onchange="get_select_list_xml(this,''f7_'|| LPAD (seq_id, 4, '0')
    ||''')"',
    'YES',
    '0',
    '-Select-',
    'f6_'|| LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c005,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(7,a.c006,'SELECT ITEM_NAME D,ITEM_NAME R FROM ITEM_DETAILS WHERE ITEM_GROUP =''' || a.c005|| '''' ,
    'style=""'
    ||'onchange="get_select_list_xml21(this,''f10_'|| LPAD (seq_id, 4, '0')
    ||''')"',
    'YES',
    '0',
    '-Select Name -',
    'f7_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c006,
    APEX_ITEM.TEXT(8,a.c007) c007,
    APEX_ITEM.TEXT(9,a.c008) c008,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(10,a.c009,'SELECT RATE D, RATE R FROM ITEM_DETAILS WHERE ITEM_NAME =''' || a.c006|| '''',
    'style=""',
    'YES',
    '0',
    '-Select Rate -',
    'f10_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c009,
    APEX_ITEM.TEXT(11,a.c010) c010
    FROM APEX_collections a
    where a.collection_name = 'ABC'
    Thanks
    Manoj Kaushik
    Edited by: Manoj Kaushik on Mar 11, 2010 1:25 AM

  • How to get the value from select list to text box

    Hi,
    I have a select list i want to retrieve the value from select list to text box.
    How can i do that???
    Regards,
    Sakthi.

    Hi Sakthi,
    Yo can use the Java script for that..
    Dynamically the value will come into text box.
    Use the below script.
    <script type="text/javascript">
    function disFormItems()
    var lReturn = $v(here your select list name)
    alert(lReturn);
    document.getElementById(here your text box name).value =lReturn; }
    </script>Cheers,
    Shan

  • Dynamic Action in APEX 3.1.2

    Hi All,
    I am trying to achieve dynamic action in apex 3.1.2 without refreshing the page. I have 2 pages, In page 1 I am opening page 2 which returns an html text to an hidden value which is working fine up to this part. I am trying to show the return html tag using display item. So I am trying achieve this using following code, but is not working please help me.
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script type = "text/javascript" >
    function refreshdata()
    {  var tmp = new htmldb_Get();
    tmp.add('P123_DISPLAY_HTML'', $v('P123_DISPLAY_HTML''));
    tmp.get();
    $('#DISPLAY_HTML').trigger('apexrefresh');
    </script>
    I have added “DISPLAY_HTML'” as div in of display item like this.
    Pre element text
    <div id="DISPLAY_HTML">
    Post element text
    </div>
    It is displaying text if I manually refresh the page which I want to avoid.
    Anyone’s help is much appreciated.
    Regards

    Hi,
    Your code just set item P123_DISPLAY_HTML value to session state.
    It do not call any on demand process that could return something.
    Below code do not do anything else than trigger custom event in APEX 3.x. There is nothing out of box that bind to that event.
    $('# DISPLAY_HTML').trigger('apexrefresh');Maybe this old Carl's blog post help you to right direction
    http://carlback.blogspot.com/2007/12/apex-ajax-reports-and-you-and-bit-of-31.html
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • How to abort tasks in a Dynamic Action when apex.confirm = Cancel

    I have a text field that has a Dynamic Action attached to it. When the field is changed, the Dynamic Action fires. There are 6 separate tasks in that Dynamic Action.
    The very first task is a call to apex.confirm. I want to make sure that the user understand the implications of changing the value in this field. So, up pops the dialog, the user reads the information, and decides to click OK or Cancel.
    If OK is clicked, I want to continue through the rest of the tasks in the Dynamic Action. If CANCEL is clicked, I want to just abort out of the Dynamic Action.
    Is that possible?
    Apex 4.1.1.00.23
    Edited by: Mark T. on Mar 1, 2012 9:49 AM

    Yes, I do see a different behavior.
    I've set up an app on apex.oracle.com, #60312. Workspace is mavericksolutions. Login pwolf. Password A1B2C3 change on first login.
    The first field is tied to a dynamic action. The first task in the DA is an apex.confirm. Type something into the first field then click TAB to bring up the dialog box. Whether I click OK or click CANCEL, the 2nd task is still occurring. It appears that the only difference is that if I click OK, I also get a submit of the page.
    What I want, in fact, is twofold:
    1. If I click CANCEL, then STOP the execution of the remainder of the tasks in the Dynamic Action.
    2. If I click OK, go ahead and process the rest of the tasks in the Dynamic Action, but DO NOT SUBMIT.
    Basically, I want to ask the user if it's OK to go ahead and make the on-screen changes, but I do NOT want to do an auto-save. I want the user to look at the results on the screen and click the actual SAVE (or CREATE) button after ensuring their accuracy. Right now, it appears that the apex.confirm is firing a page submit when I click OK (the fields get cleared out). I don't want that page submit.
    I THINK I can accomplish goal #1 with a workaround, by splitting the DA into two pieces. Piece #1 would have only the confirmation dialog. Piece #2 would be fired from the same field change, would have a sequence number AFTER piece #1, and would be conditional on the value of the expression returned by the apex.confirm. So if the apex.confirm returned 'DOTHIS' when I click OK, I would look to see if Expression = DOTHIS for piece #2. If not, then piece #2 wouldn't fire.
    The remaining trouble, then, is that if I click OK to fire piece #2, the page submit will subsequently fire following the completion of piece #2. And no matter what, I definitely do NOT want a page submit. Is there a function similar to apex.confirm that does not do a page submit?
    Anyway, take a look at the app. It's not performing the way that I anticipated, which is the same behavior that you described. I expected that it would do exactly what you said. Alas...

  • Inserting checkbox into a APEX select list

    After aloooottt of time spend in google and script foruns, i found a way to transform the simple APEX select list into a multiselec combobox with checkbox inside. Its working prety cool, and its not so hard to implement.
    I´m sry if someone alread post it before, but, due to the time spend it on it, i know that is a bit hard to found.
    If someone is looking for that too, i can share all my work into this. I will be glad to help.
    just send me a email [email protected] or ask here on forum.
    Tnks to all who help me on this "quest" lol.

    Good to hear. If you have an account on apex.oracle.com you can put your demo there for everybody to see. If not, just create an account.

  • When does a selection in a text field in a Finder window lose focus?

    Hello,
    this problem has emerged on account of an Applescript file that needs to access a text selection (portion of a filename highlighted) in an open Finder window.
    The bare minimum code to demonstrate the problem is this:
    *tell application "System Events"*
    * *tell process "Finder"*
    * *set selText to value of attribute "AXSelectedText" of text field 1*
    * *end tell*
    *end tell*
    other variants also exist, using "keystroke" but that does not work either. I am not asking help with Applescript here, it is here only to give a sense of the problem.
    My conclusion thus far is that the selection lose focus before the script process can access it. In the best case I get the full filename by using "attribute" and copy of the alias onto the clipboard by using "keystroke".
    So my problem is this:
    It seems that the focus stays alive when one clicks on a menubar item, any click on any other item on the desktop, including windows of irrelevant applications, changes the focus from the selection within the text field corresponding to a filename, to the filename itself.
    And my question is this:
    Is there a changeable setting within the OS that has to do with how long the focus stays alive on a selection within a text field corresponding to a filename? If yes, how do I change it?
    Thanks

    baltwo wrote:
    Thanks for clarifying. Never heard it called a text field, just a label. So, exactly what are you trying to accomplish? Is it that you want AS to select the file, highlight its label so you can edit/change it with some other text? If so, have you checked out the Finder scripts installed on the machine, especially the Finder script *Add to Finder Names*?
    UI Element Inspector calls the activated/editable filename a text field.
    Actually I want to modify one of the stock Finder scripts. I want to be able to select part of the file name in the active text field of the Finder window, then activate the script, *have the script pick up the selection* as a text string then use it internally.
    The bolded step is the one in question.
    Every attempt fails on the fact that the focus is lost from the "text field" and it reverts to the label for the filename, if I may use this distinction, (or to "FinderItem" in the parlance of UIEI) as soon as another process begins, it seems. So when the script becomes active, but before any of the commands is executed, the selection disappears.
    My guess is that it is not some absolute necessity but a setting that perhaps can be changed somehow.

  • Apex Select List

    Hi,
    In my application. I have a requirement like the below
    one select list is there where iam displaying the country name returning country code.
    another select list i have a province name displayed returning the province code.
    Now my requirement is when i select country name another province select list should show only the province names belongs to that country dynamically,
    created dynamic action and wrote plsql function on change event to set value as follows but no luck please advice.
    IF :LANG_PREF_CD = 'E' THEN
    RETURN 'SELECT province_name
    , province_id
    FROM (SELECT E_province_name province_name
    , province_id province_id
    FROM province_table
    where province_table.country_id=:p1_country_name
    UNION ALL SELECT 0, '' '', NULL FROM DUAL )
    ORDER BY province_id;
    ELSE
    RETURN 'SELECT province_name
    , province_id
    FROM (SELECT f_province_name province_name
    , province_id province_id
    FROM province_table
    where province_table.country_id=:p1_country_name
    UNION ALL SELECT 0, '' '', NULL FROM DUAL )
    ORDER BY province_id;
    END IF ;
    can any one help where is the mistake please. thanks

    Hi,
    not sure for older versions but for > Apex 4.0 this is possible "out of the box".
    Define 1 list of values called country and set this as the LOV on your country field ( e.g. P11_COUNTRY ).
    Define a second field called P11_PROVINCE and set Cascading LOV Parent Item(s) to P11_COUNTRY, also set Page Items to Submit to P11_COUNTRY
    now define the list of values for the P11_PROVINCE in the List of values definition on the item page ( so not a named LOV since you shoudlk reference a page item ):
    select
         province,ID
    from provincelovtable
    where
    and country_id = :P11_COUNTRY
    The field country_id should contain the country id where the province is linked to.
    regards
    Bas

  • Dynamic actions in apex 5.0

    I have upgraded an application to apex 5.0 and have a few bugs related to dynamic actions.
    It seems that even when the "page items to submit" field has been filled in the session state/item value is not updated and consequently can not be used in the dyamic action.  (its possible I had set this manually via js in the html attributes but if so then this was lost due to conversion..possible but it seems less likely.)
    Has anyone had a similar experience or know of a way to fix this?

    Hi,
    as already pointed out the above code isn't really a JavaScript Expression, because it doesn't return anything. APEX 4.2 and previous versions where more forgiving, because they used eval to execute that dynamic JavaScript code. Eval is very forgiving and also accepts code which doesn't return anything. Because of security best practices, APEX 5.0 isn't making use of eval anymore and expects that the JavaScript expression is really an expression and not a JavaScript code block. Please see the documented change of behavior '4.24 Dynamic Action Set Value Action Set Type JavaScript Expression More Strict' in our Release Notes at https://docs.oracle.com/cd/E59726_01/doc.50/e39143/toc.htm#HTMRN310
    In my opinion the above dynamic action should actually be of type 'Execute JavaScript Code' instead of 'Set Value'. Because that's what it's actually doing.
    You can run the following SQL Statement in SQL Commands to get an idea which dynamic actions might be affected by this change of behavior. It searches for multi line JavaScript Expressions.
    select page_id,
           page_name,
           dynamic_action_name,
           action_name,
           attribute_05
      from apex_application_page_da_acts
    where application_id = 96695
       and action_code  = 'NATIVE_SET_VALUE'
       and attribute_01 = 'JAVASCRIPT_EXPRESSION'
       and instr( attribute_05, chr(10) ) > 0
    order by page_id, dynamic_action_name;
    Sorry for the inconvenience this security change has caused for you.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Dynamic Action on apex items

    Hi,
    I have a requirement like after entering the date of birth in the item. then age value should be set dynamically.
    how can i set the value?

    Hi Tulasi,
    Follow the below steps
    Click on create button-Dynamic action
    select Advanced type
    Give some name
    event - On change
    selection type - item
    item(s) - your page item(used to select date of birth)
    condition - no condition
    action - Execute PL/SQL code
    Fire on page load - blank
    PL/SQL code -
    declare
    v_age varchar2(100);
    v_dob date;
    v_sysdate date;
    begin
    select sysdate into v_sysdate from dual;
    v_dob := :P1_DOB;    //here P1_dob is a page item from where i am selecting date of birth.
    select trunc(to_char((v_sysdate - v_dob)/365)) into v_age from dual;
    :P1_AGE := v_age;     // i have created one item named P1_AGE to display the calculated age.
    end;Page Items to Submit = P1_DOB // replace with your datepicker page item
    Page Items to Return = P1_AGE // replace with your item.
    Hope this will give you some idea.
    Thanks and Regards,
    Jitendra

  • "Key and Text" values in variable selection list for a field

    Hi,
          we have created the variable for the one of the navigation attributes of the "0customer" field .
          for the customer field in BEX settings we are having "Text" as display.
          for the navigation field in BEX settings we are having "Key" as display.
          while running the reports in the variable selection list for some reports we having both KEY and text for selection and for others only text are displayed,
        we have checked the BEX settings in field and query level there are same.
    Please help us here.

    Check the setting again in the Query level and then maku sure you save it. Come out of the query and then re-open the query and execute, you can see the chages in the output.

  • Get Apex Select List value

    Hello,
    I've used APEX_ITEM.SELECT_LIST_FROM_QUERY in one of my dynamically built report.
    SELECT 'Add' "Add",(SELECT APEX_ITEM.SELECT_LIST_FROM_QUERY (1,ENAME,'SELECT DISTINCT ENAME,EMPNO FROM EMP') FROM EMP WHERE ROWNUM=1) "SELECT",A.* FROM ('||OBJ_SQL||') A ORDER BY 2;
    OBJ_SQL we get from a table which contains a query. The query is different for each of the selection made in another region. Probably a select list with different countries and clicking on each country, the below dynamic report should be built. Each country will be having different columns. So we store all the countries and respective queries in a table. The report should appear as :
    Add is a link.
    Select is a select list with Employee Names.
    Some Other columns from the query corresponding to the country.
    My requirement is Whenever I click on Add link for any row, the different columns in each row should be inserted into a table. I tried using a javascript call to a function passing all the values like #COL2#,#COL3# etc. But for the select list, though I select SCOTT, the whole string (all employees are concatenated) is being sent.
    Is there a way we can pass only the selected value to the javascript function? How can we achieve this? Please help.
    The select list gets displayed perfectly.

    Hey.
    Somebody help me please.
    I have to get value from APEX_ITEM.SELECT_LIST_FROM_QUERY - column on a report.
    SELECT DISTINCT ROLE AS GET_ROLE,
    JOB AS GET_JOB,
    APEX_ITEM.SELECT_LIST_FROM_QUERY
    ( 1, '%', 'SELECT DISTINCT CODE c,
    MODE m
    FROM T2
    WHERE ROLE = ' || ROLE
    ) AS GET_CODE
    FROM T1
    WHERE AGE >30 AND
    SEX = 'M' ;
    I was trying to use javascript :
    for (var i = 0; i < selectlist_name.options.length; i++)
    if (selectlist_name.options[ i ].selected)
    result=selectlist_name.options;
    but I don't know what is the name of this APEX_ITEM.SELECT_LIST_FROM_QUERY and what "selectlist_name" must be there.

  • Switch item display type dynamically? popup-lov | select-list

    Hi,
    I've got a select-list item which I want to switch dynamically to a popup-lov. I want to display a popup-lov when the number of items to select from is high (say more than 15), otherwise I want to display a selct-list. How can I achieve this?
    thanks,
    Stephan

    steph0h wrote:
    Hi,
    I've got a select-list item which I want to switch dynamically to a popup-lov. I want to display a popup-lov when the number of items to select from is high (say more than 15), otherwise I want to display a selct-list. How can I achieve this?How do you determine the number of options?
    The simple approach is to create separate Select List and Pop-up LOV items and use conditions based on the number of available options to display the correct one. The items have to have different names, so if this is to be used for example to provide a value for a database column, create another hidden item based on the database column and transfer the values between the UI and DB items using computations.

  • Dynamic Action in APEX 4.2

    Hi,
    I try to use dynamic action but I cannot find the right event.
    The following:
    If the current -- v(APP_USER) - user is in group Administrator then the Items Name, Userid, Password, Group shold be editable else only the Password should be editable.
    In P0_GROUP there is the group of the current user.
    The page to show the Items is P6_NAME, P6_USERID ...
    I cannot find an action to start for example a PL/SQL funktion which return true or false. And what event is correct (page load?)
    Please help me.
    Regards
    Siegwin

    siegwin.port wrote:
    Hi,
    I try to use dynamic action but I cannot find the right event.
    The following:
    If the current -- v(APP_USER) - user is in group Administrator then the Items Name, Userid, Password, Group shold be editable else only the Password should be editable.
    In P0_GROUP there is the group of the current user.
    The page to show the Items is P6_NAME, P6_USERID ...
    I cannot find an action to start for example a PL/SQL funktion which return true or false. And what event is correct (page load?)
    Please help me.
    Regards
    SiegwinFirstly why are you using a dynamic action to achieve this?
    You should use read only attribute on those page items, See http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/bldapp_item.htm#HTMDB28297
    Vikram

Maybe you are looking for

  • Save as a PDF in Flash

    Hello All, I have been searching for a tutorial with no luck on saving a movieclip as a PDF (or jpg, png, tiff, etc). I am using AS2/CS3... I am pretty sure I have seen this done and just really want to figure out how to do it. Thanks in advance!

  • Vertical submenu problem with adobe acrobatreader in iframe

    We've a problem that when we have an adobe acrobat file opened in an iframe that the pop-up submenus are appearing behind the adobe pdf. It seem the z-index in the CSS doesn't deal with it. When we remove the pdf like src="" then the sub-menus (pop-u

  • Info record Tables

    Hi all, I am in need of creating a report for info record. Can someone help me with the tables for the same. Also let me know the table where i can get the pricing conditions, Its really hard to find the conditions. Thanks, S D.

  • How to install new spellcheck dictionary?

    Can someone point me to the right direction on how to install Greek spellcheck dictionary on Pages? Ideally I am looking for a native solution and not a third-party software. Thanks

  • Which CS 6 Production Premium system requirements are "hard" requirements?

    Which of the published CS 6 Production Premium system requirements are "hard" requirements--in other words, those for which installation will not proceed if they're not met? I'm particularly interested in the hard drive speed, and I'm wondering if it