How To Make A Tabular Form Field Conditionally Readonly

Hello.
I am using Apex 4.0.1. I've created a tabular form on the EMP table and have made the ENAME column a select list that is being sourced from a simple SELECT query like:
select distince ename d, ename r from emp order by 1
When a user selects "KING" as the value, I would like this ENAME field on this specific row in the tabular form to become readonly. If some other value is chosen from the ENAME drop down, then this ENAME field should remain "changeable".
If the user clicks the "Add New Row" button on the form, a new row should be added to the bottom of the form with this ENAME field as "changeable". Only if the user selects the "KING" value from this ENAME drop down should this filed become readonly.
Does anyone know how to go about doing this kind of conditional readonly on a tabular form field?
Thank you for any help.
Elie

Hi Little Foot (I do like that name).
Here's the link to my thread: "How to conditionally make a specific row in a tabular form readonly":
  Re: How To Conditionally Make A Specific Row In A Tabular Form Read Only.Hope this helps you as much as it does me.
Elie

Similar Messages

  • How to make a tabular form readonly based on an item value

    Hi everyone,
    I am getting there, but I need to make a tabular form read-only based on an item value.
    I've copied this from somewhere (thanks) and changed it for my needs and it works great to set the second column of my form
    to read only.
        var els = jQuery('#Entry_Form input[name="f02"]');
        /*var r = confirm("els is " + els);*/
        els = els.filter(function(index){
          return jQuery(this).val() != "";
        });Just need to set the jQuery selector to jQuery("td[headers='PRODUCT_NAME']"), cos that's my column name.
    also need to give a static id of Entry Form to the form.
    I'll try to understand what this code means exactly one of these days, but now I need to make
    the whole tabular form read only based on a text item, :P5_CONTROL.
    Grateful for any help on this, in the above format if possible. Greek to me but compact and it works.
    Regards.
    Leckraj

    Hi,
    actually, there is no code, just one dynamic action. You may have to change the event which triggers it.
    Event: Change
    Selection Type:     Items(s)
    Item(s): P1_ED     
    Condition: equal to     
    Value: D
    True Action 1
    Action: Disable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id^="f"]
    True Action 2
    Action: Disable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id="check-all-rows"]
    False Action 1
    Action: Enable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id^="f"]
    False Action 2
    Action: Enable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id="check-all-rows"]
    Regards, Garry

  • How to make a Tabular Form display NO rows until queried

    I have a Tabular Form designed to displays rows according to user selections made in Page Items.
    The Page for this Tabular Form is accessible from 2 origins.
    1. Passes values into the Page Items. (I want all rows to display according to the values passed in)
    2. A tab (Not the Standard Tab Set which allows selection of a values to pass to the page)
    I can accomplish number (1) above,
    But
    Number (2) is the problem.
    In the case of number (2) I don't want any rows displayed until the user selects the "Search" button.
    Can someone help?

    Hi,
    You can make the report region conditional.
    Display the region when
    1) Seach box is not empty
    or
    2) Request = XYZ
    when uses passes the value to page item , make sure it also passes REQUEST as XYZ..
    Regards,
    Shijesh

  • How to make the Tabular Form for Inserting records only?

    Hello Experts
    I need to create a Tabular form page to use it to insert records only. I do not want to update or delete records. I want the user to fill some fields and then validate it and submit. Also, I need to add a field that shows the sum of a specific field of the added records.
    Thanks a lot for all your help.

    UPDATE_LTD
    For Maintain subset of data (Update selected data)
    SHOW_LTD
    Display subset (Display Selected Data)
    TVIMV-VARIANT
    Variant name. Use variant (only with UPDATE_LTD, SHOW_LTD and TRANSP_LTD)
    For more information refer the below link
    [Maintain parameter transaction code|http://help.sap.com/saphelp_webas630/helpdata/en/a7/5134f9407a11d1893b0000e8323c4f/content.htm]
    Hope this helps.
    Thanks.,
    Balaji

  • How to make a process form field non updatable in OIM 11G PS1

    Hello all - I have a filed in process form, which once filled should be not be updated. Could you please let me know how to achieve this?
    Should we create a process task, where in we can say 'updating this filed is not possible' ?
    I tried this. But OIM shows the filed with updated value but 'Resource History' shows status as Rejected.
    Please help. Thanks
    Manju

    The only way i would see this possible would be through an event handler if you can make it work for this form. On your pre-update, you would need to make sure to always return the original value back to the form so even if changed, it would change it back.
    -Kevin

  • How to make a PDF form with expanding tabel or expanding fields, like in Word.

    How to make a PDF form with expanding tabel or expanding fields, like in Word.

    This is currently not possible in Formscentral. It is something we are working on for the future. Please stay tuned.
    Andrew Yarborough

  • How to make Buyer and Planner fields in Master Items Form Required without

    How to make Buyer and Planner fields in Master Items Form Required without using personalization?
    1) Steps to Reproduce
    Under Application Developer Common Modules responsibility,
    1) Query Region MTL_SYSTEM_ITEMS
    2) Click on Region Items
    3) Add Buyer Id and Planner Code attributes with Required checkbox checked.
    4) Bounce iAS server and JVM and clear java cache
    5) Changes not taking effect
    Current Application Release: 11.5.10.2 (3460000)
    Current INV Rollup: INV.J RUP22 (9878808)
    Current WMS Rollup: WMS RUP19 (9951502)
    Product Installation List :
    Product Installation: 11i.BOM.J: Installed
    Product Installation: 11i.EGO.E: Installed
    Product Installation: 11i.ENG.I: Installed
    Product Installation: 11i.INV.J: Installed
    Product Installation: 11i.PO.I: Installed
    Product Installation: 11i.WMS.G: Installed
    client needs to make the Buyer and Planner fields under Inventory->master Items form to be required.
    He tried using the Application Developer Common Modules responsibility, to find the Master Items Region and added the Buyer Id and Planner Code attributes with the Required check-box set to Yes. He bounced the iAS server and cleared java cache, but the changes do not take effect.
    client does not want to use form personalization.
    Can you please provide more assistance for using Application Developer Common Modules responsibility?
    Edited by: jemar98 on Aug 9, 2011 1:44 PM

    A forms developer could make those fields required with a CUSTOM.pll extension if you didn't want to use forms personalization. Both are considered customizations to standard functionality and may or may not require rework after patching or upgrades.

  • How to make a ADOBE FORM as interactive??

    Hi experts,
                       Please anybody share how to make a ADOBE FORM interactive ? It means the content of the form ( text field etc.,) can be varied ( selected dynamically ) and also the form should be freeze later , so that it cannot be edited again ,.
                    Thanks in advance!!

    Hi shukla,
    Thanks for u r response.
    Here my problem is i created webdynpro component view with interactive element .And i set the all required properties also like checking enable checkbox ,pdfsourcr,formname allthe requird things i did and i developed one adobeform using sfp tcode. In that form they are some input fields are their. and i activated every thing sucessfully.
       while executing webdynpro app i am getting pdf also.But in that pdf i cant able to fill the input fields..i checked with javascript code , and different layouts also but still it will be not editable in pdf..
    I need the solution for this........ Pls help me, I stucked with thispoint ,and its urgent...
    Regards,
    Venkat.

  • How to make a list item field with DATE data type?

    I have a column with DATE data type. Using forms 6i I want to generate a poplist list item field with this column while the value of the elements in the list to will be day names like SATURDAY,SUNDAY,MONDAY. if we change the data type from date to char, it will work properly but now with DATE data type behind it, it gives the following error message
    "FRM-32082: Invalid value for given item type.
    List WEEKREST
    Item: WEEKREST
    Block: EMPRESTS
    Form: MODULE3
    FRM-30085: Unable to adjust form for output."
    Using forms 6i how to make a list item field with DATE data type which can hold day names?

    Set your date column as a hidden (non-displayed) field. Create your list item with the varchar2 day names. Create the list item as a non-base-table field that accepts the text values of day names. On that field, create a when-validate-item trigger that translates the text into a real date, which it then uses to set the value of the actual base-table item.

  • I paid for exportpdf and everytime i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable.  how can i export only form fields that were filled in?

    i paid for exportpdf and every time i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable. Some forms can't be saved so having to log in and only use webtool to upload a saved pdf won't work.
    as well, how can i export only form fields that were filled in if I can get pdf to save to computer?

    Hi kstine,
    I can see why that would be frustrating! Have you tried selecting Stayed Signed In underneath the Adobe ID and Password boxes when you try to log in?
    What did you use to create the PDF form? If you used FormsCentral, form data is saved to your online FormsCentral account. If you have Acrobat, you can export form data as described  here: Adobe Acrobat X Pro * Manage form data files
    Best,
    Sara

  • How to make the oracle forms 10g applet or runtime the size of 1024x768?

    Hi,
    Can anyone tell me
    How to make the oracle forms 10g applet or runtime the size of 1024x768?
    Thanks in advans..

    Please post your question in Forms Topic
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • How to make a contact form script

    i need help in how to make a contact form script, and how to
    insert it into dreamweaver ugent

    Does your host support PHP? If so -
    http://sourtea.com/articles.php?ref=30
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    COMING SOON - Infooki [unboxed]:
    http://infooki.sourtea.com/
    Web Dev Articles, photography, and more:
    http://sourtea.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "alagie82" <[email protected]> wrote in
    message
    news:em6gmt$q2n$[email protected]..
    >i need help in how to make a contact form script, and how
    to insert it into
    >dreamweaver ugent

  • How to Make a Registration form

    Hi
    Can any one please tell me how to make a registartion form in Oracle9iAS Portal
    for e.g
    Login Id..
    Password..
    First Name..
    etc
    i want to insert data and then login with that user name and password actually in which table should i insert the data .....
    Any other suggestions which can solve the purpose would be of great help
    Please Help!!
    Regards
    Pooja

    In the PDK-Java is Subscriber Registration Portlet (see: http://portalstudio.oracle.com/servlet/page?_pageid=414&_dad=ops&_schema=OPSTUDIO&_mode=3)
    Please, check that one first.
    Regards,
    Jari
    null

  • How we create dynamic add form field in web form

    How we create dynamic add form field in web form?

    Hi,
    Thanks for reply.
    I need to create a form in which "add more" input field dynamically. For
    example sometime we need field on or more. Please look at the demo, I need
    to create form as per demo in business catalyst:
    http://www.openjs.com/scripts/examples/addfield.php

  • How to make the Profit Center Field Mandatory in Cost center Master Data

    Dear All,
    Please let me know how to make the Profit Center Field mandatory in Cost Center Master Data as well as my Internal Order Master Data?
    Thanks in advance!
    Regards,
    Rajeswari Shankar.

    Hi Rajeswari,
    You can modify message number KS096 to "Error" via OBA5. Thus, the users would no be able to save a cost center without entering a profit center. (Depending on your release you can make KS096 modifiable by implementing note 486781.) 
    Concerning the internal orders (transaction KO01), you can run KOT2 and set Profit center field as required entry in "change field selection" section.
    Regards,
    Greta

Maybe you are looking for