to disable a button of a form - repost sorry onload

I want to disable a button titled "reactivate" on a form onload of the page.

Here is the Javascript code that I use... Sorry my first attempt of Javascript.

< html >
< head >
< script type = "text/javascript" >
function disable()
{
. document.getElementById ('Reactivation') .disabled = true;
}
function enable()
{
document.getElementById("mySelect").disabled = false;
}
< /script >
< / head >
< body onload = "disable ()" >

< / body >
< / html >

Thank you

Chris

Published by: user3391863 on August 30, 2010 11:48

Again, you must add the sub #BUTTON_ATTRIBUTES #. string to the model, in your case, it can work with this:

#LABEL#

Sam

Tags: Database

Similar Questions

  • Disable a submit button in a form fillable

    I have created a fillable form that once it is completed, the user clicks the button on the submission form. With a couple of javascript codes, I found online, I was able to set up in the control panel user actions to have the form saved as another file named, have all filled on static text, and the shape placed in an email as an attachment. The only problem is that the code I found does not disable the submission form. Thus, it is not a completely static form.

    Is there a JavaScript there that would disable the button on the form submit?

    Help, please.


    Thank you.

    Hello

    Ask you to kindly visit the link shared below and select the specific product community.

    https://forums.Adobe.com/welcome

    The experts would be able to help you with the application of the product.

  • from the how to do to disable the Save button in the form 10g

    Hello...

    I developed a custom form when the function save the form I want to disable the button "close in bulk.
    Save here is standard option, there is no button Save.

    Please give me a solution

    Concerning
    Mohan

    Hello

    To disable a button, use the Set_Item_Property (..., INFLUENTIAL, PROPERTY_FALSE) integrated.

    François

  • How to disable some fields in a form by clicking a button?

    Respected, members
    I use oracle 9i and forms 6i and I have a button on a form. I want that ' when I click that button on this form which will be registered all the data on this form and this form (the form of this specific serial number) becomes disable, as display items, I mean he just become in-top-datable in the shape and the only way to change this leaflet is SQL.

    God bless you.

    For each element in the block, you can:

    set_item_property ('block.item', Enabled, property_false);

    If you have a block record multi, this will put all the records to disabled, so this works only in blocks unique Records.

  • clear form will not disable call button

    Hi all
    I wrote a procedure to clear all my text fields and disable all buttons. And I call this procedure in a button (insert). When I click on the button insert, after my operation button, all the text he fields get authorized and all my buttons get disabled, except my Insert button. I don't have a code to disable this button in my procedure as well. But for some reason, any other button disable exception key which invoked the procedure.
    Is there a way to disable the button thus invoking?
    I tried to use the clear_form feature in the default Oracle Forms, but no use.
    Kind regards
    AJ

    I guess the problem is that the insert key is enabled when you try to turn it off. You can't disable the current item.
    You would have to navigate to another item first or set the properties 'Navigable' and 'Navigable mouse' false.
    Try something like

    GO_ITEM('BLOCK.SOME_ENABLED_TEXTITEM');
    SET_ITEM_PROPERTY('BLOCK.INSERTBUTTON', ENABLED, PROPERTY_FALSE);
    
  • Disable the button Save all the time

    Hello! I want to have a form that is with button "DISABLE" save all the time. When I put this code below into the trigger once - new - form - Instance:
    Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;  
    first of all, it's disable, but when I click the "RUN" button, the "Save" button is again enable. My question is where I must put the code above to disable the button Save all the time.

    TX in advance.

    indoracle wrote:
    Hello! I want to have a form that is with button "DISABLE" save all the time. When I put this code below into the trigger once - new - form - Instance:

    Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;  
    

    first of all, it's disable, but when I click the "RUN" button, the "Save" button is again enable. My question is where I must put the code above to disable the button Save all the time.

    TX in advance.

    Hello
    Is there another code in the form to activate this?

    Try the code at the moment-new Record Instance to the block level.

    Hope this helps.

  • Disable the button "submit" after the presentation

    We have a form that we distributed to multiple users. The shape is defined so that presentations go to a predefined server location. The problem is that some users submit the form several times (don't know why). Maybe they do not notice the message that says 'submit form '. In any case, we want to disable the button send after submitting the form (even it is only for this "session"). I know that once the form is closed and reopened the button works again, and that's ok. If anyone has any suggestions I would be grateful. Thank you.

    Hello

    Modify the script above to:

    This.Access = "readOnly";

    your submit button will be set to read-only.

    Regards-

    Chalukya

  • Disable the button Delete in the toolbar on EBS (Apps) Oracle using Custom pll.

    Hello

    I am trying to disable the button remove on Oracle Apps, I tried the following code, but it does not work. If the a person who has been able to do it please share.

    I tried this.
    begin
           
            if (event_name = 'WHEN-NEW-FORM-INSTANCE') then
                      app_special.enable('EDIT.DELETE', PROPERTY_OFF);
                       fnd_message.set_string('After APP_SPECIAL.ENABLE');
              
            end if;
      end;
    Thank you

    Hello

    Take a look at the following links.

    Custom.PLL
    Custom.PLL

    How can note: 561676.1 - I use SQL to disable a menu item?
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=561676.1

    Kind regards
    Hussein

  • How to disable a button using Java Script in Apex

    Hi all

    I tried to disable a button when the value of an element of the selection in the same page list is zero. Here are the steps that I did.

    (1) created a new model of button like < table class = "t9StandardButton" id = "" #BUTTON_ID # "cellspacing ="0"cellpadding ="0"border ="0"Summary =" ">"
    2) has changed the model of existing button to the newly created button model.
    (3) added onchange = "javascript:fdisplay (this); "the selection list form element value
    (4) added the following in the page header java script

    < script type = "text/javascript" >
    function fdisplay (some) {}
    If {(some.value == 0)
    html_GetElement (' #BUTTON_ID # "") .disabled = true;
    }
    on the other
    {
    html_GetElement (' #BUTTON_ID # "") .disabled = false;
    }
    }
    < /script >




    But the script does not work. Is there something I'm missing here. Please advice.

    Thank you
    Vikas

    Vikas:

    In the field "attributes button" button type "id ="Ceboutonsélectionnel".

    Edit the button template to include the #BUTTON_ATTRIBUTES substitution string #. This should be put in the anchor tag in the template definition.
    Change your Javascript to reference the ID above as

    ....
    html_GetElement ('thisButton').disabled = true;
    ....
    

    CITY

  • Disable the button Wireless Laser Mouse PA3706E Alt + Tab?

    I have what I think, it's a mouse Toshiba PA3706E (it's the one in the picture below)

    It has a small button of Alt + Tab at the worst place in the fact that it could be, and I was wondering if anyone knows a way to disable? I installed the thing that comes with it to change the functions of the buttons, but for some reason, it is the only button you cannot not change or not. The only option for the Application Switch button is Alt + Tab.

    http://img340.imageshack.us/img340/8080/mousedriver.PNG

    Anyone? It's makes me absolutely crazy and things like TF2 happens to crash when it Alt + tabs; -

    > Is it possible to disable it, as pilot/configure CD software that comes with the mouse wont allow it.
    Well, if the software that came with the mouse, does not support this option, then I put t see any other possibility to disable the button ALT + TAB.

  • Satellite E100-004 - can I disable media buttons as mute, play pause

    My laptop is Toshiba Satellite E100-004.
    is there a way disable the multimedia button panel (Media buttons on top of keyboard - mute-media-play/pause-stop-rewind-forward-)?

    thanx

    Hello

    Please don't be crazy on my but I don't understand your question. These buttons are by default configured to run with pre-installed Windows media player. If you don't like them you just simply do not touch them.
    I know that you can change the browser settings and the multimedia key and define which application should be open with these buttons.

    In any case such option is unknown to me.
    Why you want to disable these buttons?

  • Disable the buttons before webservice response

    Hello

    How to disable the buttons until the webservice response came, but when came the web service respone it will allow all the button

    can you give me any suggestions...

    Thank you

    Learning by doing. I've attached an example that does what you want to do, disable the buttons x, where x in this example is 5 seconds to activate the buttons and where x for you would be availability of webservice response.

    All what you need to do is:

    • Add ID to your buttons (see the example input elements I used)
    • Add the source to remove the attribute "disabled" of these buttons (see the example of function that I have documented)

    She's.

  • How to disable the button to remove the application.

    I want to implement a feature to disable a button Delete a particular application so that the user can not remove it applications.

    How can I implement this.

    is not possible

  • How to add radio buttons to the form

    Hello

    I want to add option buttons to the form.

    I wrote the following code:

    Rbg RadioButtonGroup = new RadioButtonGroup();

    RadioButtonField r1 = new RadioButtonField ("first option button");

    RadioButtonField r2 = new RadioButtonField ("second radio button");

    RadioButtonField r3 = new RadioButtonField ("third option button");

    RBG. Add (R1);

    RBG. Add (R2);

    RBG. Add (R3);

    mainScreen. Add (RBG);

    When I run this, I get uncaughException.

    I am doing wrong?

    can someone help me please.

    Thank you

    Maury.

    On the screen, we can add that the fields. RadiButton group will hold all Radiobutton Fields.

     RadioButtonGroup rbg = new RadioButtonGroup();
            RadioButtonField r1 = new RadioButtonField("first radio button");
    
            RadioButtonField r2 = new RadioButtonField("second radio button");
    
            RadioButtonField r3 = new RadioButtonField("third radio button");
            rbg.add(r1);
            rbg.add(r2);
            rbg.add(r3);
            add(r1);
            add(r2);
            add(r3);
    
  • Apex - disable the button using PL/SQL code

    Hi all

    I use a PL/SQL code to get a DB value, depending on the value that I need to disable the buttons on the Page.

    I tried code below

    IF : P2_FLAG == ' not THEN

    HTP.script ("document.getElementById ("SUBMIT") .disabled = false;", "Javascript");

    END IF;

    It is said screw the page saying - the/apex/f requested URL was not found on this server

    I use Apex 5.0, please need your contributions.

    Hello

    However, if you want to show/hide the button, you can use conditions:

    Open the properties of the button and put Conditions such as "Item = value '.

    Point - P2_FLAG

    Value - N

    To turn on or off, you must run ajax with jquery to get the DB value before charge and then print button.

    It may be useful

    Sunil Bhatia

Maybe you are looking for