Restricting Fields (Items in a Page) based on Userid

I have an opportunity to replace a bunch of departmental MS Access DB's with HTMLDB. I have HTMLDB 1.6.1 running in a 9.2.0.6 database on Solaris with the 10g (R1) app server. I am very impressed overall with this product. I have created a bunch of samples apps based on existing Oracle DB tables (from existing pl/sql toolkit and jsp/servlet based apps).
I have a requirement to develop a page where some users can see/update all fields and some users can only see/update specific fields. I may put these requirements in a database table (userid, table,field_name,access_type - None, Read,ReadWrite).
In the Edit Page Item screen has anyone used the Authorization, Conditional Display, and/or Read Only Display settings to accomplish this?
Thanks, Dave

> I tried going into the
> template and adding an editable or optional region
within the <body> tag, but
> it won't let me do that, and inserts it after the tag.
editable regions can't contain the head or body tag.
select the body tag in the quick tag selector (bottom left
margin of design
window)
then go to Modify-->templates-->add editable attribute
and add an onload attribute.
in the child page, use modify->Template parameters to add
the preload.
Or- use some other javascript preloader inside of an editable
region in the
head section.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/

Similar Messages

  • Restriction for items from Purchase Order based on Sale Order

    Hi !
           We create PO directly from Sale Order ( by ticking Option under Logistic tab, 'Purchase Order') for customer C01 (for eg).
    From the PO created, we post GRPO.
    Now our need is,
    Assume if 10 Qty is been ordered in such a way and been received (GRPO posted). it 'll add on to the stock account i.e will increase stock qty at our whse.
    is it possible to restrict these 10 qty of item from being sold to any other Customer other than whom hav ordered i.e if we create sale order for C02 the SBO should not take the items received from PO created based on Sales Order created for C01?
    Meera.

    Meera,
    Which version of SBO are you using 2005 or 2007?
    I don't think Serial numbers can help in this scenario.  There is no hard allocation or blocking possible using Serial numbers.
    This is the Work around I am thinking about.
    Set the items to be Batch Managed - On Every Transaction
    When performing Goods Receipt, enter the Sales Order Number as the Batch Number
    When creating the delivery, using SBO_SP_TransactionNotification we can easily check the Batch of the Item being selected and verify it with the BaseRef of Delivery lines to match with Sales Order number.
    If the numbers don't match we can warn user with message, "The items batch reserved for Sales Order xyz"
    Even if you make a mistake when entering the batch number same as Sales Order number when doing a goods receipt. It can still be traced and blocked during delivery.
    Hint: The Batch table records the Goods Receipt transaction along with the BaseDocument number, Base Ref, etc
    If you decide to go this route, I could help you further.
    Let me know
    Suda

  • Accessing an item on a page based on authorization scheme

    Hi,
    I've two authorization schemes :ADMIN and VIEW.I've created a public page which will be accessed by both schemes.But on that page in particular region I want to display an item only for ADMIN not for VIEW scheme.
    Thanks,
    Mahender.

    for that region properties , go to conditional display and use this bult in function (after you pick plsql function return boolean) : APEX_UTIL.PUBLIC_CHECK_AUTHORIZATION('your_auth_scheme');
    This function return true if current user is in that auth. scheme.
    Let me know if that helps,
    Sam K.

  • Suda! Again to restriction of items from PO based on SO

    Hi Suda!
    Let me remind u abt the thread "Restriction for items from Purchase Order based on Sale Order" ( Restriction for items from Purchase Order based on Sale Order ), after tht
    I have Tried in bringing out the stored procedure for Serial Number block too similarly from Batch Block stored procedure. as the client has many serial numbered item, i did so. it is working well Suda. But the problem is i cud'nt bring the SONO in the error message. Here is the procedure.
    IF @Object_type = '15' AND @transaction_type = 'A'
    BEGIN
    If NOT Exists (SELECT DISTINCT T0.IntrSerial AS 'GR PO Serial', T10.ItemCode AS 'GRPO ItemNo.',
    T10.BaseEntry AS 'GRPO DocEntry', T3.BaseEntry AS 'Delivery DocEntry'
    FROM  [dbo].[OSRI] T0
    INNER JOIN [dbo].[SRI1] T10 ON T0.SysSerial = T10.SysSerial AND T0.ItemCode = T10.ItemCode
    INNER JOIN [dbo].[PDN1] T1 ON T1.DocEntry = T0.BaseEntry
    INNER JOIN [dbo].[POR1] T2  ON T2.DocEntry = T1.BaseEntry
    INNER JOIN  [dbo].[SRI1] T3 ON T3.SysSerial = T10.SysSerial
    INNER JOIN  [dbo].[DLN1] T4 ON T4.DocEntry = T3.BaseEntry
    Where T2.BaseEntry != -1 AND T2.BaseEntry = T4.BaseEntry AND T4.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    DECLARE @SONO1 VARCHAR(10) SELECT DISTINCT @SONO1 = T3.DocEntry FROM  [dbo].[OSRI] T0
    INNER JOIN [dbo].[SRI1] T10 ON T0.SysSerial = T10.SysSerial and T0.ItemCode = T10.ItemCode
    INNER JOIN [dbo].[PDN1] T1 ON T1.DocEntry = T10.BaseEntry
    INNER JOIN [dbo].[POR1] T2  ON T2.DocEntry = T1.BaseEntry
    INNER JOIN [dbo].[ORDR] T3 ON T3.DocEntry = T2.BaseEntry
    WHERE T0.IntrSerial = (SELECT T4.IntrSerial FROM OSRI T4 INNER JOIN SRI1 T5 ON T4.SysSerial = T5.SysSerial and
    T4.ItemCode = T5.ItemCode where T5.BaseType = 15 AND T4.BaseEntry = @list_of_cols_val_tab_del AND
    T5.ItemCode = T0.ItemCode)
    SELECT @Error = 1, @error_message = 'This SERIAL no. linked with another Sales Order ' + @SONO1
    END
    END
    I think some where i am going wrong in this above high lightened Procedure. Kindly help me to bring the Value of @SONO1.
    i tried a lot to bring tht but failed to bring tht SONO num alone. The error msg is thrown as 'ADOC' alone.
    thanking you in advance,
    Meera.

    You had everything correct but instead of T5.BaseEntry you had it as T4.BaseEntry.  Please change it to T5.BaseEntry as shown below and it should work.
    where T5.BaseType = 15 AND <Font Color="Brown" > T5.BaseEntry </Font> = @list_of_cols_val_tab_del
    It had nothing to do with DataType.
    Suda

  • How to validate a item in page based on previous item in same page

    Hi,
    I need to know how we can hide items based on page item
    ie i have 5  item in same page like weighed(radio button) yes / no if user select yes na it ll automatically enable remaining fields like weight,packing charges, courier charges and net total
    and based on packing charges,courier charges, other charges the net charge ll be auto calculated.....
    please any one reply asap..
    Regards,
    Priya

    i have  to align the items in single page(form)....
    ie i have  to arrange the regions in sequential manner
    for example i have x , y , z , a  , b , c , d ,l m  regions
    y  and z in horizontal  in first row
    b  and c  in vertical  in first column
    x and a  in  vertical in second column
    d in vertical in third column
    l  and m in horizontal  in last  row
    y -----------------------  z
    b    x
    c    a    d
    l------------------------m
    to achieve this wat i have to do

  • Redirect to 3 diffrent pages based on value in the Auto complete field.

    Hi Friends,
    I am using an "Auto complete field" in a page for searching(Apex version 4.0). But i need to get values from 3 tables and when clicking on the value redirect to any of the 3 pages based on the value.
    For example i am having 3 tables. 1.Customers 2.Sites 3.Employees. When i enter 'c' in the search field i need to get values from 3 tables to be listed in that "auto complete" field. i.e, if i am having customer with name 'cusotmer1', 'customer2' and site with names 'cisc1','cisc2' and employees with name'cid1','cid2' ; when i enter 'c' in the auto complete field all 6 values must be listed in the "auto complete" field and when clicking on 'customer1'/'customer2' need to redirect to page 'customer'. When clicking on 'cisc1'/'cisc2' redirect to "site" when clicking on 'cid1'/'cid2' redirect to employees page. Is there any way to achieve this. Please help.
    Regards,
    Nav

    Hi Nav,
    OK - on my page 1, I have a "Text Field with autocomplete" item called P1_SELECTION. The List of Values definition setting for this is:
    WITH D AS (SELECT ENAME || ' (Employee)' X
    FROM EMP
    UNION ALL
    SELECT DNAME || ' (Department)' X
    FROM DEPT)
    SELECT X
    FROM D
    ORDER BY 1This adds the appropriate suffix to each item to show where the data is from - you can change this if you want as this becomes part of the searchable text.
    On page 1, I have a normal SUBMIT button.
    Then I have two branches:
    1 - settings are:
    Branch Type: Branch to Page or URL
    Branch Point: On Submit: After Processing (After Computation, Validation, and Processing)
    Target Type: Page in this Application
    Page: 2 (the employee edit page)
    Clear Cache: 2
    Set these items: P2_ENAME
    With these values: &P1_SELECTION.
    Condition Type: Exists (SQL query returns at least one row)
    Expression 1:
    SELECT 1
    FROM DUAL
    WHERE :P1_SELECTION LIKE '%(Employee)'When Button Pressed: SUBMIT
    2 - settings are:
    Branch Type: Branch to Page or URL
    Branch Point: On Submit: After Processing (After Computation, Validation, and Processing)
    Target Type: Page in this Application
    Page: 3 (the department edit page)
    Clear Cache: 3
    Set these items: P3_DNAME
    With these values: &P1_SELECTION.
    Condition Type: Exists (SQL query returns at least one row)
    Expression 1:
    SELECT 1
    FROM DUAL
    WHERE :P1_SELECTION LIKE '%(Department)'When Button Pressed: SUBMIT
    On page 2 (the employee edit form), I have Computation with the following settings:
    Item Name: P2_EMPNO
    Type: SQL Query (return single value)
    Computation Point: Before Header
    Computation:
    SELECT EMPNO
    FROM EMP
    WHERE ENAME || ' (Employee)' = :P2_ENAME Condition Type: Exists (SQL query returns at least one row)
    Expression 1:
    SELECT 1
    FROM DUAL
    WHERE :P2_ENAME LIKE '%(Employee)'On page 3 (the department edit form), I have Computation with the following settings:
    Item Name: P2_DEPTNO
    Type: SQL Query (return single value)
    Computation Point: Before Header
    Computation:
    SELECT DEPTNO
    FROM DEPT
    WHERE DNAME || ' (Department)' = :P3_DNAMECondition Type: Exists (SQL query returns at least one row)
    Expression 1:
    SELECT 1
    FROM DUAL
    WHERE :P3_DNAME LIKE '%(Department)'The idea is that we append some fixed text to the end of the names in the autocomplete list. When the user clicks submit after selecting a name, one of the branches will be triggered depending on which fixed text is there. The branch sets the ENAME or DNAME value on the edit page and the computation on that page retrieves the appropriate EMPNO or DEPTNO value to put into the primary key page item (the main "Fetch Row..." process will then use that to get the real data for the record).
    Note that this assumes that ENAME and DNAME are unique on their tables - otherwise, the computations will not be able to find a single record and an error would be generated.
    Andy

  • Restrict the items while adding to cart based on zipcode.

    Hi All,
    I have a requirement of restricting the items while adding to cart based on the zipcode .
    For ex . If I enter zipcode of 10014 ,then I shld able to only add 2 items .If i enter some other zipcode like 55344 then I shld able to only add 5 items .
    Please help me to implement this scenerio.
    Advance thanks

    You can add a property in catalog for "Product" item-descriptor to refer to "ZipCodeQuantity" item-descriptor to define the restriction. This way even if the quantity for a particular product( for a particular zip) changes, it becomes easy.
    zipcodeQuantity will have productid, zipcode, quantity allowed.
    Use a droplet to show only the allowed quantity for a particular product for a particular zip code in product detail page. This way you can restrict them from adding in ProductDetail page itself.
    Just an another way.
    -karthik

  • Dynamically Update a number field by summing of page item values.

    Hi,
    I'm trying to update a number field on an apex page by summing up the values of multiple page items. I've tried to follow this tutorial http://st-curriculum.oracle.com/obe/db/apex/r40/apexdynactions/apexdynactions_ll.htm , especially the "Create a Set Value Dynamic Action Using PL/SQL" part.
    In the tutorial example they return an page item value P3_SAL multiplied by a multiplier they've determined by another page item's case. What I want to do is much simpler in that I just want to add up multiple page item values and then display them in a number field at the bottom of the page.
    so the code I tried to use based on the tutorial is in the tab: Home >Application Builder>Application 103>Page 3>Edit Dynamic Action>Create / Edit Action
    Set Type: PL/SQL Function Body
    PL/SQL Function Body:
    BEGIN
    return :P3_ITEM1+P3_ITEM2+P3_ITEM3;
    END;
    Page Items to Submit: P3_ITEM1,P3_ITEM2,P3_ITEM3
    But it gives me an error that I need to declare the identifiers, yet it works if I only use one item and I can perform any arithmetic.
    ie.
    BEGIN
    return :P3_ITEM1+1000;
    END;
    Any help would be appreciated.

    PL/SQL Function Body:
    BEGIN
    return :P3_ITEM1+P3_ITEM2+P3_ITEM3;
    END;
    Page Items to Submit: P3_ITEM1,P3_ITEM2,P3_ITEM3
    But it gives me an error that I need to declare the identifiers, yet it works if I only use one item and I can perform any arithmetic.In your code is missing the ":" for the items P3_ITEM2 and P3_ITEM3.
    Try this:
    BEGIN
    return :P3_ITEM1+:P3_ITEM2+:P3_ITEM3;
    END;

  • How to hide text field item based on true or false cases in oracle apex

    Hi,
    I have a set of text Field items in oracle apex:
    Order Number
    Revision Number
    When we open the report, revision should be hidden.
    Only when the user enters unique order number (non-duplicate order numbers), revision number should be visible.
    If he enters duplicate order number, revision number should be hidden.
    Please help.

    Hi 2932464,
    2932464 wrote:
    Hi,
    I have a set of text Field items in oracle apex:
    Order Number
    Revision Number
    When we open the report, revision should be hidden.
    Only when the user enters unique order number (non-duplicate order numbers), revision number should be visible.
    If he enters duplicate order number, revision number should be hidden.
    Please help.
    Giving you example how to achieve this.
    Step 1. Create three Page Items
        1) P1_ORDER_NO - Text Field
        2) P1_REVISION_NO - Text Field
        3) P1_ENABLE_DISABLE_REVNO  - Hidden,Value Protected - No
    2. Create 3 Dynamic Actions
    1) Disable revision number on page load
        Event - Page Load
        Action - Disable
        Fire When Event Result Is  - True
        Selection Type - Item
        Item - P1_REVISION_NO
      2) Check duplicate order number
        Event - Change
        Selection Type - Item(s)
        Item(s) - P1_ORDER_NO
        Condition - is not null
        Action - Execute PL/SQL Code
        Generate opposite false action - Unchecked
        Fire When Event Result Is  - True
        Fire on page load - Unchecked
        Stop Execution On Error - Checked
        Wait for Result - Checked
        PL/SQL Code -
    declare
    l_count number;
    begin
      select count(*) into l_count
        from emp
       where empno = :P1_ORDER_NO;
    if l_count > 0 then
      :P1_ENABLE_DISABLE_REVNO := 1;
    else
      :P1_ENABLE_DISABLE_REVNO := 0;
    end if;
    end;
    Page Items to Submit = P1_ORDER_NO
    Page Items to Return  = P1_ENABLE_DISABLE_REVNO
    3 ) Enable and Disable Revision Number
        Event - Change
        Selection Type - Item(s)
        Item(s) - P1_ENABLE_DISABLE_REVNO
       condition - greater than or equal to
       value  - 1
       Action - Disable
       Fire on Page Laod - Unchecked
       Generate opposite false action - checked
       Selection Type = Item(s)
       Item(s) - P1_REVISION_NO
    Hope this helps you,
    Regards,
    Jitendra
    DER_NO

  • How to show valid field items based on previous selected field

    I am trying to use BC Web Apps to help my customers find products for their specific motor vehicle.
    By selecting the vehicle make and then the model. e.g. Chevrolet and then Camaro.
    This will then bring up a table with all the cosponsoring equipment part numbers.
    At the moment the closest I can get is two dropdown lists one with all the vehicle makes and another with every vehicle model.
    If I select Chevrolet I only want to see Chevrolet models in the dropdown list.

    Hi 2932464,
    2932464 wrote:
    Hi,
    I have a set of text Field items in oracle apex:
    Order Number
    Revision Number
    When we open the report, revision should be hidden.
    Only when the user enters unique order number (non-duplicate order numbers), revision number should be visible.
    If he enters duplicate order number, revision number should be hidden.
    Please help.
    Giving you example how to achieve this.
    Step 1. Create three Page Items
        1) P1_ORDER_NO - Text Field
        2) P1_REVISION_NO - Text Field
        3) P1_ENABLE_DISABLE_REVNO  - Hidden,Value Protected - No
    2. Create 3 Dynamic Actions
    1) Disable revision number on page load
        Event - Page Load
        Action - Disable
        Fire When Event Result Is  - True
        Selection Type - Item
        Item - P1_REVISION_NO
      2) Check duplicate order number
        Event - Change
        Selection Type - Item(s)
        Item(s) - P1_ORDER_NO
        Condition - is not null
        Action - Execute PL/SQL Code
        Generate opposite false action - Unchecked
        Fire When Event Result Is  - True
        Fire on page load - Unchecked
        Stop Execution On Error - Checked
        Wait for Result - Checked
        PL/SQL Code -
    declare
    l_count number;
    begin
      select count(*) into l_count
        from emp
       where empno = :P1_ORDER_NO;
    if l_count > 0 then
      :P1_ENABLE_DISABLE_REVNO := 1;
    else
      :P1_ENABLE_DISABLE_REVNO := 0;
    end if;
    end;
    Page Items to Submit = P1_ORDER_NO
    Page Items to Return  = P1_ENABLE_DISABLE_REVNO
    3 ) Enable and Disable Revision Number
        Event - Change
        Selection Type - Item(s)
        Item(s) - P1_ENABLE_DISABLE_REVNO
       condition - greater than or equal to
       value  - 1
       Action - Disable
       Fire on Page Laod - Unchecked
       Generate opposite false action - checked
       Selection Type = Item(s)
       Item(s) - P1_REVISION_NO
    Hope this helps you,
    Regards,
    Jitendra
    DER_NO

  • Redirect user to a different Page based on number of  Liquid output result

    I want to redirect the user to a different page based on the number of results. I have some multi-account users and single account user in my secure zone. I want single account users to be sent to a different page, while multiple account user should be shown their accounts and they user can now click the account he/she wants to access. This is my code:
    {module_data resource="customers" fields="company, email1"  where="\{'company':\{'$contains':'{{this.globals.user.email}}'\}\}" skip="0" limit="500"  version="v3" collection="companyXtra" template=""}
    {module_webapps id="21927" filter="all" collection="companyAccess" template=""}
    {% for item in companyAccess.items -%}
    {% assign counter = {{forloop.length}} -%}
    {% if globals.user.email = item.email and counter = 1 -%}
    <script>
    window.location.replace("/single-account-user.html");
    </script>
    <a class="w-inline-block szone-navlinks multiplecoy" href="{{item.url}}">
        <div class="szone-holder">
          <div class="szone-narrate addenrolee">{{item.name}}</div>
        </div>
      </a>
    {% else %}
    <p><a href="{{item.url}}">{{item.name}}</a></p>
    {% endif %}
    {% endfor %}
    </div>
    Please what I'm doing wrongly. Can someone kindly assist. Thanks.

    Hi Liam I have since been reviewing my query using the BC API Discovery which has been a good guide for me. But the result is just displaying the core customer's company, though the other company has a default email/email1 as the core customer.
    This is my new query:
    {module_data resource="customers" version="v3" fields="company" skip="0" limit="10" where="\{'email1.value':\{'$contains':'{{globals.user.email}}'\}\}" order="id" collection="myData"}
    <pre>{{myData|json}}</pre>
    This is the json:
      "moduleName": "data",
      "moduleDescriptor": {
      "templatePath": null,
      "parameters": "resource=\"customers\",version=\"v3\",fields=\"company\",skip=\"0\",limit=\"10\",where=\ "\\{'email1.value':\\{'$contains':'[email protected]'\\}\\}\",order=\"id\",collection=\"myData\"",
      "apiEndpoint": "/api/v3/data",
      "objectType": "-1",
      "objectId": "-1",
      "adminUrl": ""
      "items": [
      "company": "The vivove company Limited"
      "totalItemsCount": 1,
      "skip": 0,
      "limit": 10,
      "params": {
      "resource": "customers",
      "version": "v3",
      "fields": "company",
      "skip": "0",
      "limit": "10",
      "where": "\{'email1.value':\{'$contains':'[email protected]'\}\}",
      "order": "id",
      "collection": "myData"
    I expected to see two companies. This is screenshot of my the companies in the CRM:
    Screenshot by Lightshot
    Screenshot by Lightshot
    Thanks. most appreciated.

  • Display Dataset field Value in the footer based on the Group

    Hi Guys,
    My current SSRS report is displaying multiple projects data. One Project data is rendering into 1 or 2 pages based on the project specific data.
    Now, the requirement here is to display the "ProjectName" in the footer of the SSRS report in below format. For instance, if project A data is rendering in 2 pages then the footer in two pages should display project Name A and in the
    third page it shows display the Project Name b in the footer of the report.
    ProjectName [Insert Reporting Month]                                                                                                Page
    # of #
    Has anyone come across such requirement. Thanks.
    Warm Regards Badal Ratra

    Hi Badal,
    In SQL Server Reporting Services (SSRS), we cannot use the “Project” filed without specifying a dataset aggregate in page footer. However, we can display the item value in the page footer. Please refer to the following steps:
    Add a list in the report. Configure this list with the corresponding dataset.
    Configure the list “Group on:” ProjectName.
    Add the tablix in the list, add page break “Between each instance of a group” of the list.
    Add a text box (TextBox1) with expression below:
    =Fields!ProjectName.Valu
    Set the visibility of the text box to Hide.
    Add a text box in the page footer fill with following expression:
    =ReportItems!TextBox1.Value
    If you have any questions, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Creation of additional drop downs in 'Item overview' tab page on portal

    Hi,
    I would like to know how do we add additional fields/drop downs on  the xRPM portal in the  'Item Overview' tab page.
    For eg:
    We are having TECHNOLOGY TYPE field at Item overview tab page in xRPM portal - Portfolio Management view. Wherein we can have different dropdown values for selection.
    Question 1 -> Can we have similar dropdown created on the same page? If yes, how?
    Question 2 -> If we want to create more than one such dropdowns with their own defined dropdown values, can we maintain the dependency between them ?

    I went through the document on the mentioned by you.
    But my requirement is a bit diiferent.
    I want to have 3 different drop downs with a  numeric field attached to them.The sum of these numeric fields should always be 100 (two values are manually selected but the third value should be calculated automatically based on the previously selected values).
    Example,
    I select 10 as a value for Drop down 1, 40 for drop down2 then for the drop down3 the value should populate automatically as 50 (100 - (10+40)).i.e. the sum being 100.
    Can you or any one please help me with this.
    Also I am not sure how do we give multiple options for selection (like 10,20,..50 etc upto 100) for a drop down.

  • Is it possible to have different fields go to different pages?

    I have 6 fields that will serve to search records a button either hidden or not will then be called to branch to that page only if there are more than 1 records. Otherwise it will display the results on the same page, populating those fields that match the exact criteria. I'm guessing I need a process first to find out if there are more than 1 records found. Is it possible then to go to a different page from the process then select the record and return the values to the previous page. I was using LOV for this but the user doesn't want to do it this way. They want to enter as many values they think they need to find the records and display the results in a column based report.
    Now the user will then continue entering some other values in other fields and then submit the page. Submit saves the data into a table. Of course the user wants to use the mouse as little as possible and magically the application will go to the right place depending on the field where the enter key is pressed.
    Does anyone have done something like this?
    Could you give me some pointers?
    I really appreciate any help you could provide.
    Thanks
    juan

    Hi Juan,
    If you use a Text Field (always submits page when Enter pressed) field you will see that it calls a submitEnter() javascript function.
    This function is:
    function submitEnter(itemObj,e){
    var keycode;
    if (window.event) keycode = window.event.keyCode;
    else if (e) keycode = e.which;
    else return true;
    if (keycode == 13){
    doSubmit(itemObj.id);
    return false;
    }else{
    return true;
    You could create your own function that sets the value of a hidden page item (say, P1_PAGE) and then calls the submitEnter() function. Or, you create a replacement to the submitEnter() function to do both. You would need to use a normal Text Field item and add a call to your function by adding onkeypress="return yourfunction('Page', this, event) into the HTML Form Element Attributes for your item.
    Then, when the page is submitted, the branch should be to &P1_PAGE. instead of a number. P1_PAGE should have a default value to ensure that there is always a page to go to in the branch.
    Regards
    Andy

  • Mask password field while rendering the page

    Dear All,
    I have made a application wherein I have 2 pages. The 1st page is a tabular diaplay of the data and the 2nd page(which is called from the 1st page after clicking on the link) is for adding/modifying the data. This is based on my user master table which has a "Password" field in it and it is not null field at the database level. I am not showing this password field on the 1st page(report). I am showing this field on the 2nd page while entering/modifying the data. I have set its display type as "Password" so that while adding the data, it is displayed as dot. But when I am trying to edit the same data, it is not showing me the data in the password field. So I am not able to save any changes to the existing data. If I change the display type to some other option then it works fine.
    Please suggest some solution.
    (We are using application express version 3.0.0.00.20)
    Minakshi

    Minakshi,
    We don't retrieve password form items from session state when rendering them. So you should be able to type a new value in and save the form. If you mean that you cannot save the form without entering a value for the password, then that is an expected effect of this same practice. You'll need to allow for a null value using an after-submit computation (which populates the item by selecting from the existing row) or handle it in a trigger on the table.
    Scott

Maybe you are looking for

  • ALV Totals , Subtotals for a particular field in ALV Grid report

    Hi, I have an issue in ALV totals and subtotals. Scenario is like this. i have a vendor data to be pulled out of SAP and to be shown in the form of report. i am populating all the data and doing do_sum based on Vendor ( has expansin & collapse option

  • Inbound Delivery Idoc for PO

    We are trying to create a Inbound Delivery for purchase order. We are using idoc basic type DELVRY03. When we are processing this Idoc we are constantly getting error : Item 00000 of purchasing document does not exist Message no. ME706 Diagnosis Purc

  • Move VMs from Hyper-V 2008 R1 to Hyper-V 2012 R2

    I have a Server with Windows Server 2008 (NOT R2) running with the Hyper-V role installed and 8 VMs. I want to move them to our new server running Hyper-V 2012 R2. I tried to copy the original files to the 2012 Server and Import them as described in

  • Named Licence (Trial) must have Creative Cloud Desktop Application with CCP?

    Hi, We're using an education agreement for deployment of Adobe desktop applications, and previously, we created a trial or now named license to deploy the applications to our SOE, and then used a license package (after imaging) to licence the softwar

  • 2nd Gen iTouch Date/Time Randomly reseting?

    Using 2.2 firmware with 32GB iTouch the system date and time get set to some random new date time from past. 1) So far the random date-time has always been in the past. 2) Somehow related to iTouch being connected to PC. 3) Might be related to Sync [