Disable the entire form

Hello

I have a requirement to disable an entire form and is what it read-only based on the value of the item, is there a way to do it?

Thank you

Hello

Try to use js for the setting readonly on the fields of form under certain conditions, below

include jquery plugin of readonly in zero page, you can download it from: http://plugins.jquery.com/files/jquery.readonly-0.7.0.zip

Demo: http://apex.oracle.com/pls/apex/f?p=25471:2

Function and the global variables declaration

function readOnlyItem() {
    if ($v('P100_ITEM') == 1) {
        $(':input').each(function () {
            $(this).readonly(true);
        });
    }
    // change selector to your choice of item or selection attribute
    return false;
}

Run when the Page loads

readOnlyItem();

Or

the dynamic action to disable fields under certain conditions,

(1) create a standard dynamic action
(2) the item value is equal to 1
(3) action set disable fields
(4) select the list of items must be disabled

Kind regards
-Spengler

Tags: Database

Similar Questions

  • Need a way to clear a form on the current page and not the entire form...

    IM new to Adobe Acrobat and worked on the conversion of some of our OmnForm 5.0 form PDF file, I've created a form that contains a button to clear the form.  It works very well!  Now, I created a template in the PDF of the current page and then created a button to spawn a new page of the model.  Creating the page works as well.  The only problem I have is that the clear form button clears the entire form.  I need the key to erase only the current page.

    I'm a relative newbie when it comes to script.  I can understand generally simple scripts when I see them, but to create new groupings still isn't my forte. HE's researching the resetForm method, but it seems that there is no option to move the current page to him? (As I said I am relatively new to java scripts).  If anyone has the directions on how to do it I would be very happy.

    You can use the code that I posted here: http://forums.adobe.com/message/4234483

  • Source material can be updated without having to recreate the entire form?

    Just create a form of 17 page with hundreds of boxes and other editable for the end user. Unfortunately, the form may have to be updated quarterly. I wonder if there is a way to update the data source of the form (i.e. Add/Remove questions) without having to create a whole new form.

    Thanks in advance!

    Yes. Once you have the new file open former and use the replacement Pages

    possibility to replace the underlying pages with the new ones. This will keep

    all the form fields in place (of course, if the layout of the modified file

    you will need to adjust their locations/sizes).

  • How to disable the AutoSubmit validation form.

    I use Jdeveloper 10.1.3.

    I have a list box with autosubmit set to true to generate a list for a second list box... I also have other input on the form fields that have the required property set to true.

    When I select an item in the drop-down list, it sends the entire form and stops on fields that are required. Is it possible that I can use this autosubmit without affecting the entire form?

    Hello

    Didier Laurent has provided a very nice solution on how to avoid this behavior.
    http://blogs.Oracle.com/Didier/2008/04/02/#A301

    -Juan Camilo

  • How to enable and disable the part of the "control panel".

    I want to know if part of the control panel can be turned on and off by an external action, to use the mouse or a Boolean variable. Someone has an idea that help color? Thank you

    Ricardo

    You can disable cookies by using the node property and ownership "Disabled". You can create a tab control and disable the entire tab control that will disable all inside of it.

    To do this programmatically, set up your code with a structure of the event and create an event when the user changes the value of a button or click the mouse.

    See the example I did:

  • How to disable the page for a value change event processing

    I am trying to find a solution to a requirement and is currently working on use cases using the HR schema.

    I have a text entry box in the page that accepts a new Department name.

    The value change listener method on it called a bean of support to verify the uniqueness of the name of the Department. (I'm an iteration through the lines of the Departments table to check if the value is unique)

    Now, I need to disable the page and display an hourglass, so what this control and display a message at the end of the treatment.

    I have this job except that I don't know how I can disable the entire page and see an hourglass.

    I have to use Javascript for this?

    Hello

    I've had this work now after the use of clientListener as below.

    Binding = "#{backingBeanScope.backingBean.IT1} '"

    ID = "it1.

    valueChangeListener = "#{backingBeanScope.backingBean.checkUnique} '"

    autoSubmit = 'true '.

    Validator = "#{backingBeanScope.backingBean.validateDeptName}" > "

    Type = "valueChange" / >

    Thanks for your help.

    References: http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf

  • How to move the fields in the contact forms

    I'm having a devil of a time of formatting of my muse contact form.  I had "change all" checked when I click on the widget to the entire form.  First of all, when I go to one of the fields and in the name field options, I checked all the fields - required, display the quick text, etc-, but the text prompt does not appear.  In addition, because I chose to edit together does all fields ' required?  Then, the big one - I searched and seen so many tutorials on this but I have not met that tells you how to move text fields.  Phone-work is down and I wanted to move it to the top.  And then when I added a custom field I wanted to add 'Profession' and place it under 'Name' but will have a hard time with that.  Anyone out there who can help me?  Frustrated!

    Hello

    Selection in Muse form Widget works like other widgets in the program. You enter more deeply into the hierarchy every click: so with the first click you select the form, with the next click you select the form field, with the next click you select label/Input/button/SMS text according to what you click.

    You can select and move individual form fields or several fields of form (shift + click to add to the selection) wherever you want. There is a Form of Message field that isn't visible in States other than the Normal State - pay attention to move upward if you moved everything upward, but still see that your form is larger than expected with an empty space at the bottom [more often than not - the Message form field is the culprit]. Just go to any State other than Normal with the chosen form and you will see this field.

    Hope that clarifies how you can customize the form Widget in the Muse.

    Thank you

    Vikas

  • I would like to present the entire pdf document not the xml data in the pdf file.

    Hello

    I have designed a form with some fields asking for details of the client.

    I have provided a "submit" on the PDF button. When the user clicks on submit button after filling in all the necessary details in the form. The submit button calls the servlet class and reads the data from the analysis of xmls pdf file and put in the database table.

    But I want to implement a senario where if the user clicks on the submit button. The full pdf and data inside get saved on the file server or the documentum server. Here, I don't want to read the fields in the form. I want to get and save the entire form.

    Please let me know how to do.

    concerning

    Sunil

    Make sure you use a normal button and set the property to "submit". Then you will see a tab for defining the type of presentation.

    Do not use the built-in submit button.

    Jasmine

  • Disable the Big Purple header for forms

    This is my task:

    To make a PDF and a region that could be used by a vendor to add a short personal message. They will then e-mail the PDF file on a client.

    I work in Acrobat 9 Pro on a Mac. Vendors will have Acrobat Reader (not sure which version) on Windows.

    So what I did everything first to open my PDF in Acrobat Pro and has transformed into a form. Then, I added the field and it formatted like I wanted. But when I open the form in Acrobat Reader, there is a big bar of purple on top by asking me to fill out the form. Well, it's OK for my sellers, but I don't want that when our client gets the page.

    Is there a way to convert the PDF 'form' in a non-formulaire PDF which preserves the information that the seller registered but works as a non-formulaire PDF standard once the client opens. At the very least, is there a way to get the large purple bar to stay off when the customer opens my form or non-formulaire PDF?

    Or should I do another process entirely?

    Your sellers will not be able to get rid of him no.

    They will have to send it back to you so that you can use Acrobat to flatten the file. Then it will go away for users of Reader.

    There is an option for Reader users to disable this feature, themselves, but you can't force it on your side short of flattening of the file.

  • Disable the column key functional for an individual of forms

    Hi all

    I have a block of multiple registration details in my form with fields (type, point, wt, vehicle number etc.). Keys are already scheduled for functional use as f3 to copy.

    In my form, I want to use the copy function to get to the fields as type, point, wt, but not for the vehicle number column. IE type, point, maybe same wt columns but number of vehicle may not be same (according to customer requirement). They will not accidentally copying the same number of vehicle.

    For this I need to disable the copy (F3) function for this vehicle only number column.

    Is there a workaround for this...

    My version of the form is 10g

    Thanks in advance

    Concerning

    JaKes

    the KEY-F3-trigger has nothing to do with the F3 function key. In client-server F3 is associated with the DUPLICATE_ITEM function, so you should use the KEY-DUPITM-trigger.

    Also, if you implement a release BUTTON, it replaces the functionality by default, so you must manage the service for yourself.

    As for the OP functionality should just be deleted at one, the simplest solution is to create KEY-DUPITM-relaxation so precise and simple insert a value that is NULL. inside.

  • disable the Popup LOV and its icon in a tabular form

    Hello

    My requirement is

    I want to disable Popup LOV and tabular icon.

    If I select the first value in column selection list 'A' then second column Empname disable window popup lov

    and if I select 'B' and then select empname popup lov.

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    I want to disable Popup LOV and tabular icon.

    If I select the first value in column selection list 'A' then second column Empname disable window popup lov

    and if I select 'B' and then select empname popup lov.

    You can do it by using dynamic action.

    Use the javascript code in the next thread to turn lov popup tabular icon.

    Reference: How to disable the popup LOV (query based LOV) in the form

    and related to put on over ReadOnly rank tabular thread

    NOTE: instead of setting custom "row_item_disabled" CSS class use the integrated class APEX "apex_disabled."

    If it is still impossible to solve, re - produce the question on apex.oracle.com and share the credentials from the workspace.

    Kind regards

    Kiran

  • With previous versions, I could press control (mac) and click on a layer, and he would choose this graph, what form it was. Then I could go to image-culture and reframe the entire file down to that size. Now, this feature is missing. What is the new way t

    With previous versions, I could press control (mac) and click on a layer, and he would choose this graph, what form it was. Then I could go to image-culture and reframe the entire file down to that size. Now, this feature is missing. What is the new way to do this?

    This is the command key, not the control key for a Mac that you use on the layer.

    Gene

  • Need to disable HA to power down the entire Cluster?

    Hello

    We can to the bottom of our cluster SAN and ESXi 5.0 for electrical maintenance. We stop all the virtual machines, and then the ESXi hosts... Is it necessary to disable HA before stopping the ESXi hosts? I don't know the procedure to stop the entire cluster availability Guide. Does anyone have experience with this and if so can you please provide the steps?

    Thank you

    Jimmy

    No there is no need. Just power off all the virtual machines and then all hosts.

  • How to disable the list item form in oracle Forms toolbar

    Hello

    I have to disable in the menu toolbar-> topic GIS link by using cutom.pll

    in the procedure event custom.pll I called

    If event_name = 'WHEN-NEW-FORM-INSTANCE' then
    If form_name = "EAMFANDF" then
    If block_name = "ASSET_NUMBERS" then
    Set_Menu_Item_Property ("SPECIAL5: GIS Link', ON, PROPERTY_FALSE");
    end if;
    end if;
    end if;

    Please give me a solution...

    With respect,
    Maha

    Hi all

    I got a solution using this code I can enable disable the menu and the menu list.

    declare
    v_Asset_no varchar2 (50);
    a MENUITEM;
    Begin
    a: = FIND_MENU_ITEM ("SPECIAL. SPECIAL5');
    If (event_name = ' one TIME-NEW-POINT-INSTANCE ') then
    If (form_name = "EAMFANDF" AND block_name = "ASSET_NUMBERS") then
    v_Asset_no: = name_in('ASSET_NUMBERS.) ITEM_NUMBER_MIR');
    If v_Asset_no = "DT" then
    app_special2. Instantiate ('SPECIAL5', 'GIS Link');
    -SET_MENU_ITEM_PROPERTY (one, displayed, property_true);
    SET_MENU_ITEM_PROPERTY (one active, property_false);
    On the other
    app_special2. Instantiate ('SPECIAL5', 'GIS Link');
    -SET_MENU_ITEM_PROPERTY (one, displayed, property_true);
    SET_MENU_ITEM_PROPERTY (one active, property_True);
    end if;
    end if;
    end if;
    end;

    Kind regards
    Mohan Reddy

    Published by: MAHA REDDY on May 17, 2013 12:02 AM

  • Disable the image of calendar in tabular form in version APEX4.0

    Hi all

    I used the JQuery code following in dynamic Action to disable the Hiredate column in tabular form in APEX4.0.

    $('INPUT[name="f01"]').each (function (i)
    {
    var rowSelected = $(this).attr("id").substr (4);
    var hire_date_id = $('#f05_'+rowSelected).attr ("id"); F05-> column of hiring Date which is the date picker
    $x (hire_date_id) .readOnly = "readonly";
    $x (hire_date_id).style.background = "#F2F2F5";
    $($("td [headers ="HIREDATE"] img')) .addClass ('apex_disabled');
    }
    );

    HireDate column is disabled the calendar Image is not disabled in APEX4.0 but it did not work in version APEX4.2.

    Can someone tell me the reason and the solution for this problem?

    Thanks in advance.

    Kind regards
    Lacombe

    Published by: 1004558 on May 7, 2013 07:39

    Thank you very much, Dene,.

    Your code has been useful for me. But I created the picker using JQuery in DA as below,

    $('input[name="f05"]').datepicker({
    dateFormat: 'dd-M-yy',
    changeMonth:true,
    changeYear:true,
    showButtonPanel:false,
    buttonImageOnly:true,
    showOn:'both',
    buttonImage:"#IMAGE_PREFIX#asfdcldr.gif"
    }).parent("td").addClass("datepicker");
    

    and use the following query to disable,

    $('input[name="f01"]').each( function(i) {
    var rowSelected = $(this).attr("id").substr(4);
    $('#f05_'+ rowSelected).datepicker( "disable" );
    }
    });
    

    After that I enabled it in another DA before submitting the page.

    It works Fine... :))

    Thank you
    Lacombe

Maybe you are looking for

  • Pilot missing 6300 MT

    Have a HP 6300 MT win 7 Pro x 64.  A pilot is missing. Hardware ID PCI\VEN_8086 & DEV_1E22 & SUBSYS_339A103C & REV_04PCI\VEN_8086 & DEV_1E22 & SUBSYS_339A103CPCI\VEN_8086 & DEV_1E22 & CC_0C0500PCI\VEN_8086 & DEV_1E22 & CC_0C05

  • HP Pavilion g125ds 17: HP Pavilion g125ds 17

    It bought nine and Win10 of hatred. Wipe the disk and put Win7 Ultimate on and nothing works, no USBs, no Ethernet, NOTHING. I downloaded ALL the drivers for Win 7 and Win 10 and still NOTHING! I have to burn it to a cd/dvd, because nothing works...

  • Laptop HP 15-r014TX: window ISO image 8.1 need lies in recovery drive with new startup at startup...!

    Hello I've lost my windows 8.1 that is provided by the OEM and also lost too recovery media. I'm talking about windows support for technical assistance for the activation key for my os, but when I apply this msg key coming "this key is not your versi

  • I've only had my laptop a year

    I've only had my laptop G72-251NR for a year and my hard drive died. Is it still under warranty, even if my warranty is up on my laptop? Can I send it and the set? I was told that this is why I shouldn't buy hp, because of this problem. I love my lap

  • Administrator to install the printer software

    I'm trying to install the HP printing software. IE I need administrator or the primary user. This is me. What I would do.