How to disable the text box field

Please help me out on the following points.

How to turn off the text area in master form of master detail form

1. you must mention in which case you want that a field should be disabled

2. in my example there is an event based deactivation of elements - select list P18_ENABLE_DISABLE, try changing the values. It's exactly what you want. The only difference is that the calculation is triggered when key hidden form element is not null.

Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
-------------------------------------------------------------------

Tags: Database

Similar Questions

  • Gray out or disable the text box

    Hello

    I have a drop-down list called CN_Entry_Initials with options of a "C" or a "N". I also called Part_Number to enter a part number in a text box. I want the text box part number be grayed out or disabled until a "C" or an "N" was chosen out of the CN_Entry_Initials of the menu drop down. I have this operation, except that I can't add it to almost anything. I think it's something to do with the way in which I have if statement for this disabled text box, or do I have to change the touch of a button "submit it". Does anyone know how to fix this? Below is the javascript and the drop down menu code menu and the text of the box as well as to add it or submit button. There are additional stuff in Javascript I have on the page, but I don't need to worry about those things because they do not work properly. I have the code text box disabled in the upper part of the javascript in the verify() function code. Thank you.

    < SCRIPT LANGUAGE = "JavaScript" >

    <!-original: Wayne Nolting ([email protected])->

    <!-this script and many more are available free online to->

    <!-begin

    verify() function

    {

    If (document.getElementById('CN_Entry_Initials').value is 'C'

    || document.getElementById('CN_Entry_Initials').value == "N")

    document.getElementById('Part_Number').disabled = false;

    on the other

    document.getElementById('Part_Number').disabled = true;

    }

    {

    var PartNum = document. AddECNumber.Part_Number.value;

    var regularExpression = new RegExp(/[cC][0-9]/); regular expression to search for a letter C followed by a number

    If (RegularExpression.test (partnum) & & document.) AddECNumber.CN_Entry_Initials.value == "N" & & document. AddECNumber.Validation_Qty.value == "") {//this returns true if the entry passes the regular expression

    Alert ('enter an amount of Validation for this new custom');

    }

    Another yew (document. AddECNumber.CN_Entry_Initials.value == "N" & & document. AddECNumber.P_Drive_Docs_Initials.value == 'i') {//this returns true if the entry passes the regular expression

    Alert ("you cannot select 'i' for the docs to remove for a new game");

    }

    Another yew (document. AddECNumber.CN_Entry_Initials.value == "" & & document. AddECNumber.SW_Model_Only.value == '0') {//this returns true if the entry passes the regular expression

    Alert ("ECO type required - ew Select (N) or (C) Hanger for eco topic');

    }

    Another yew (document. AddECNumber.PNR_BOM_Change_Only.value == '1' & & document. AddECNumber.CN_Entry_Initials.value! = 'C' & & (document). AddECNumber.Release_Status_Initials.value == "U".

    || document. AddECNumber.Release_Status_Initials.value == "N")) {//this returns true if the entry passes the regular expression

    Alert ("ECO type required - select C Hanger for eco section and select N release status if PNR/BOM change only is Yes");

    }

    Another yew (document. AddECNumber.PNR_BOM_Change_Only.value == '1' & & document. AddECNumber.CN_Entry_Initials.value == 'C' & & document. AddECNumber.Release_Status_Initials.value == 'U') {//this returns true if the entry passes the regular expression

    Alert ("ECO type required - select C Hanger for eco section and select N release status if PNR/BOM change only is Yes");

    }

    Another yew (document. AddECNumber.Doc_Changes_Only.value == '1' & & document. AddECNumber.CN_Entry_Initials.value! = 'C') {//this returns true if the entry passes the regular expression

    Alert ("ECO" type required - Select (C) Hanger for eco section Doc changes only being Yes');

    }

    <!-ElseIf (text). AddECNumber.P_Drive_Docs_Initials.value is 'i')

    'Eco_search.cfm' = Self.Location; ->

    on the other

    {

    document. AddECNumber.submit ();

    }

    }

    -> End

    < /script >

    < name cfform = "AddECNumber" action = "add_new_ec_number_action.cfm" method = "post" > "

    < b >

    < class td = "├editer" align = "right" > change or new entry: < table >

    < td >

    < select name = "CN_Entry_Initials" id = "CN_Entry_Initials" onchange = "verify (); ">

    < option value = "" > select < / option >

    <! - FILL the BOX WITH P_Drive_Docs_Initials FIELDS - >

    < CFOUTPUT QUERY = "ShowCNEntryInitials" >

    < option value = "#CN_Entry_Initials #" > #CN_Entry_Initials #.

    < / CFOUTPUT >

    < / select >

    < table >

    < /tr >

    < b >

    < class td = "├editer" align = "right" valign = "middle" > part number: < br > < h6 > (25 characters limit) < / h6 > < table >

    < td > < input type = "text" name = "Part_Number" id = "Part_Number" maxlength = "25" size = "27" disabled = "disabled" > < table >

    < td > < textarea name = cols "Description" = "30" rows = "3" > < / textarea > < table >

    < /tr >

    < input type = "button" value = "Add" onclick = "verify (); ">

    < / cfform >

    Thank you.

    Andy


    Seems that the braces "{" Javascript function are incorrect, the audit function performs only the feature of toggling the Part_Number text box which is the reason why the alert function worked when you added it in here.

    What you can do is to create a separate function which just active / disable the Part_Number text box and add it to the onchange event of the area of selection.

  • Formatting of the text box fields

    Hello, I have a few fields of boxes of text with the following properties:

    (1) PL/SQL function that returns body
    2) display as text
    (3) with labels, right-justified.
    (4) all the text boxes contain numeric values

    I would like just to justify the numeric values so that they line up on the right. How can I do this? They look like this now.

    Tuition 3032
    Cost of 225
    849 books
    Cost per term 4106

    I would like that they look like this:

    Tuition 3032
    Cost of 225
    849 books
    Cost per term 4106

    Thank you
    Snowbunny

    Hi Sunny,
    It is very easy. What you have to do, go to the edit page, click the label that you want to change. Click the element in the top of the title page and edit Horizontal / Vertical alignment to right. It displays the value in the text box with a tangent.

    Hope this will help,

    Ta

    Djelloul

  • Using paint and how to change the text box.

    How can I select a text box that you want to modify in the paint - Windows 7 Home Premium?  Once I leave the text box I can't select again a second time to change the text or grab it to move... I must be missing something very simple?  Is there a manual program somewhere?  Yes, the zoom is 100% and I am the administrator.  Thanks for any help!

    The painting is a very simple program and does not support the re - select a text box to change the content.

    "mikecvista" wrote in the new message: * e-mail address is removed from the privacy... *

    How can I select a text box that you want to modify in the paint - Windows 7 Home Premium? Once I leave the text box I can't select again a second time to change the text or grab it to move... I must be missing something very simple?  Is there a manual program somewhere?  Yes, the zoom is 100% and I am the administrator.  Thanks for any help!

  • How to change the text box in Acrobat XI, created by earlier versions of Acrobat

    Hi, I'm having a hard time trying to figure out how to change a text box that was created in an older version of Acrobat and used to fill in a form.

    In my case, I added text boxes on text pre-existing using an earlier version of Acrobat.

    When I try to click on the text box, however, it seems to be back on the existing text and not allow me to change the text box I created in the past.

    Try changing the text with the tool 'Add comment text' which is in the notes pane. The text used to complete the form may have been written as annotation, so when you try to change those with editing tools, the original text is being edited.

  • How to disable the check box (line selector) in a tabular report of APEX

    I have a report in tabular form with checkboxes which is filled by a SQL query.  For some lines, I want to disable (or not) the box according to the value of one of the columns of that particular line (if the value of a column defined as Date is less than sysdate, I don't want to display the checkbox for that rank).  I tried to use the conditional display in the section of the column attribute of the checkbox, but I can't access this Date column that is currently selected in a view in the SQL source.  I used variables such as: name-of_column, V(':name-of_column'), but always get a NULL value for this column in the SQL code I'm trying code in conditional display section.  For this reason, my condition does not work correctly.

    What I am doing wrong?  Exceeds my correct approach?

    Hi Ajay,

    I don't think you can handle this with a conditional display, as that works on the column rather than level level line.

    The way I see it, there are two things you can do:

    (1) approach to sql, where youo make the checkbox in your query using apex_item.checkbox, see the documentation of oracle for detailed information on the use of the APEX_ITEM

    You'll end up with a query like

    Select case when YOUR_DATE_COLUMN<>

    then null

    else apex_item.checkbox2 (p_idx-online 1

    p_value-online YOUR_DATE_COLUMN

    )

    ,

    from YOUR_TABLE

    (2) an approach JavaScript in which you create a dynamic action check your date column in a table and when the need hides and disables the check box for that rank.

    First option is more robust, but it will take a little more work. Second option is faster to develop, but may have different effects on various browsers and browser versions.

    Regads,

    Vincent

    http://vincentdeelen.blogspot.com

  • How to remove the text box enclosing white

    Hello

    I am a student in multimedia and need to create a portfolio manager and would like to know how to remove the white text box when writing text? Already, I have a background and would like to have white on bakground or plain black writing, don't want the white bounding box. How can I remove that?

    Thank you

    This depends really on what type of Member of text that you used, but in general, you should select the sprite on the stage, then go to the Sprite of the property inspector tab.  Find the ink setting and change into Transparent or Matt.

  • How to make the text box with scrollbar

    I am just learning CSS and Dreamweaver CS4. I have a page that has a lot of text and go on a background image. I need to make one of these text boxes I've seen who can be put in the center of the page and has a slider for people bar can read all the text. I might look for it, but I have no idea what they are called. I tried Googling some names I thought it could be, but they turned out not to do.

    Could someone tell me what they are called and point me to a tutorial on how to make one in Dreamweaver?

    Thank you very much!

    Carole

    Scrolling CSS Division

    {#divName}

    Width: 500px;

    height: 400px; / * adjust the height as required * /.

    overflow: scroll;

    }

    More information about the overflow property

    http://www.w3schools.com/CSS/pr_pos_overflow.asp

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web.blogspot.com

  • Conditionally disable the text box

    I have a text box that I want to disable loading if another value of items is greater than 0.
    I don't want to make the read-only text box, like this poster from right across the page.

    I've tried several things, but to no avail. My last one was
    <script type="text/javascript">
    function disDescription() {
    var aa = $v('P148_ITEM_A')
    if (aa > '0')
    $x_disableItem('P148_ITEM_B', aa);
    }
    <script>
    
    onload="disDescription();
    
    {code}
    
    Cheers
    
    Gus
    
    Edited by: Gus C on Sep 28, 2010 7:58 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Hello

    Delete

    onload="addLoadEvent();"
    

    You don't need that when you use the addLoadEvent function.

    And where you have this line? It is up to the Page HTML Body attributes, without the HTML page headers.
    In any case, to remove it, you don't need it with addLoadEvent function.

    Best regards, Jari

  • How to place the text entry field in the center of the white page

    Hello

    I'm new to ADF, I develop here the ADF login page.

    I am just placing the user name, the field button and login password in the center of the page.

    I tried several page layouts but I do not know how to set the fields in the middle of the page.

    Can someone tell me please how to do?

    Thanks in advance,
    SAN

    THERE'S YOUR ANSWER,
    http://java2go.blogspot.com/2010/12/creating-centered-page-layout-using-ADF.html

  • How to clean the text boxes empty?

    Several times after that place text may be necessary to remove it (by selecting the entire kitchen) but in the pages will remain areas of text without text like skeletons. It is possible to clean them without deleting the pages? For example, you want to make radical changes related only to the text, but does not alter the images placed just to just title. Bring you new text after you have removed the old (like selecting), but the old empty boxes are there, forcing the user to remove, usually behind and almost hidden. Maybe it's a script Forum thread?

    If you simply want to remove empty blocks of text, try this:

    myDocument var = app.activeDocument;

    var myStories = myDocument.stories;

    for (var myCounter = 0; myCounter< mystories.length;="">

    var monarticle = myStories [myCounter];

    var myTextFrames = myStory.textContainers;

    var myNumberOfFrames = myTextFrames.length - 1;

    While (myTextFrames [myNumberOfFrames] .silence == false) {}

    myTextFrames [myNumberOfFrames] () .remove;

    -myNumberOfFrames;

    }

    }

    But I may have misunderstood what you want.

    Jeremy

  • How to disable the text field

    Hello Expert,

    Need your help

    I got 10 points on the shape. One of the elements is the list of selection.
    What I'm trying to do is if the user selects 'Yes' then select point A and point B must be activate.
    And if the user select 'No' select list point A and point B must virgins and turn off.
    I know it can be done in JavaScript. Can someone show me how do it in JavaScript
    Its urgent

    -SAGAR

    Sam:

    Add this piece of JS in the header HTML of your page

    
    

    And then for the HTML attributes for the element select set "onchange = disableStuff (this);"

    CITY

    Published by: City aissaoui on December 10, 2008 05:06

  • APEX form - how to align the text boxes

    Hello

    I'm creating a form and I have a few text fields bordered square... Unfortunately, it is not aligning... This is how it manifests itself.

    sample.PNG

    Here is the configuration

    1.PNG2.PNG3.PNG

    Thank you

    Developing using the button display the grid on the developer toolbar. In this way, you can see the grid changes and check the settings of the grid if necessary.

    As pleNn have already said, the question mark is automatically added if you have a help text for an element. It's probably nothing more than "enter the value for the number of trips. You can delete the help text if it is not useful.

  • How to align the text with fields of the table values

    Hi friends

    My Baisc requirement is to display some values of address with some raising in boxes at the same level as the half left of the page displays address and other half right side of the page displays the values in the boxes, but when I created a table to display the value in boxes, he does not insert text of the Ant at the same level on half of the page as my requirement is

    My requirement is

    AddressAddressAddressAddress val in a val in a box2 box1 / / I m not able to display any square here box
    AddressAddressAddressAddress val in a box3 val in a box of 4
    AddressAddressAddressAddress val in a val in a box6 box5
    AddressAddressAddressAddress val in a val in a box8 box7

    but it comes as

    Val in a val in a box2 box1 / / I m not able to display any square here box
    Val in a box3 val in a box of 4
    Val in a val in a box6 box5
    Val in a val in a box8 box7
    AddressAddressAddressAddress
    AddressAddressAddressAddress
    AddressAddressAddressAddress
    AddressAddressAddressAddress

    and that's my problem I do not know how to align bot at the same level, any advice would be very help full

    Thanks in advance

    Thank you
    Pratap

    You can send me your sample xml and RTF, it would be better that I can see the RTf.

  • How to disable the Message box 'the current compatibility setting is not supported. Turn off compatibility view before you run this web page.

    Hi all

    Since a few days, we are on 11.1.2.3.500 and using IE 11. In IE 11, we can use Oracle EPM Suite only in Enterprise Mode, otherwise only "Bindows" appears. Now, my question is how can I disable (or remove) the Popup Message "the current compatibility setting is not supported. Turn off compatibility view before you run this web page. "because it's really embarrassing that this message whenever I start a planning application, Manager of calc or what ever.

    Thanks a lot for your help.

    Kind regards

    André

    You can go to tools > compatibility view settings and you should be able to remove the Web site / uncheck compatibility view so that you won't get this message

    HTH

    Amarnath

    ORACLE | Essbase

Maybe you are looking for