Select list / Pop up box - Read only ??

Hi all,
I have a select list to populate a field in an ApEx application. The select list is populated by a query on a table and as such there is no option to input any non-standard items via free text into that field - all values must be chosen from the select list.
My issue now is that the select list is getting quite large and is really not the easiest way to select data from a list.
A popup LOV is perfect for the searching through available values but it leaves the text box available for "free text input", allowing non standaerd data to be entered into that field.
Is there any solution to this?

Neil,
You can use Validation to enforce correct entry. The approach I use is to use custom popup. See example below:
http://www.oracle.com/technology/products/database/application_express/howtos/how_to_create_custom_popups.html
You can set the text box's attributes to readonly="true". This will keep the textbox disabled thereby preventing free form data entry. Users will be forced to pick data from the custom popup page.
Ravi

Similar Messages

  • How to get the value from select list to text box

    Hi,
    I have a select list i want to retrieve the value from select list to text box.
    How can i do that???
    Regards,
    Sakthi.

    Hi Sakthi,
    Yo can use the Java script for that..
    Dynamically the value will come into text box.
    Use the below script.
    <script type="text/javascript">
    function disFormItems()
    var lReturn = $v(here your select list name)
    alert(lReturn);
    document.getElementById(here your text box name).value =lReturn; }
    </script>Cheers,
    Shan

  • Select List & Pop-up Page

    Hey everyone...
    I am having some trouble with passing values to and from a pop-up window. When running the application the user must select a value from a select list (which appears in every row of a query report), then another page must pop-up displaying another query report. The user then select a row from that report and the window closes, returning the values of that row.
    I am able to do everything, including returning the values to the original page, except for sending values to the pop-up itself. I need to send the pirmary key value to the pop-up.
    The select list is a query based LOV. In the element attributes field I have:
    onchange="triggerPopUp('#TABLE_PK#');"
    The syntax for triggerPopUp is the following:
    <script language="JavaScript" type="text/javascript">
    function onceYouPopYouJustCantStop(table_pk) {
    var sendpk = table_pk;
    var url;
    url = 'f?p=&APP_ID.:30:&APP_SESSION.::::PK_30:'+sendpk;
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=320,height=600");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    </script>
    The window pops up, but the value of TABLE_PK is not recognized. If the function call is used in the URL for a column link it works perfectly, but I need it to happen after the select list is changed...
    any help would be great...

    the onchange is on the dropdown column, which is not the TABLE_PK column. I can use this.value to find the value of the drop down, but not any other column. getElementById does not work. If I use getElementById or simply #TABLE_PK# in the HTML Expression field it will give me the value. But I'm trying to place it in the Element Attributes field, which seems not to work the same way.
    If I could somehow refer to the drop-down item (which is a query LOV, not an HTMLDB created item) through the element attributes, I think it would solve my problem...

  • Check Box Read Only

    Hi
    The scenarios is
    there are two check boxes
    CheckBox A
    CheckBox B
    now if i select Checkbox A, CheckBox B should become read only and vice versa
    I tried this through validation....but thr is no function available to make a field read only.....
    How can we achieve this?

    Hi Rohit,
    Will it help in case you use a Single PickList with two values?
    - Prakash Joshi

  • Select the current row in read only querry VO

    Hi.,
    I am using jdev 11.1.1.5
    I had created a Finyear EO with corresponding VO
    I had also created a read only querry VO [PostdGLhdlnVO]
    I had created a viewlink between FinyearVO and PostdGlhdlnVO with following conditions
    FinyearVO.bu = PostdGLhdlnVO.bu
    FinyearVO.year = PostdGLhdlnVO.year
    I need to select the current row and print that row using println statement. as i am using readonly querry while i drag and drop the PostdGLhdlnVO i cant able to select the current line (i.e., when user clicks the current row)
    My scenario:
    I need to create a non database checkbox for every row in that table [PostdGLhdlnVO] which will get the current row
    can anyone help me to create a nondatabase checkbox for that table

    Try,
    This may help:
    Re: ADF Table Multiple row selection by Managed Bean-Prasad

  • How to enable extension button of select-options but make it read only

    Hi all,
    I have select-options with extension on my selection screen. It has to be read only. But when I give screen-input = 0, even the extension button is disabled. So the user cannot see multiple default values of that field. How should I enable the extension button and still make it read-only.
    Thanks in advance.
    Vasu

    Hi, try below sample code:
    data: gv_bukrs type bukrs.
    SELECT-OPTIONS s_one for gv_bukrs.
    at SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        if screen-name = 'S_ONE-LOW' or screen-name = 'S_ONE-HIGH' .
           screen-input = 0.
           MODIFY SCREEN.
        endif.
      ENDLOOP.

  • Make Select rows and columns as read only in Table Control

    Hi All,
    I would like to know how to make certain cells in a Table Control as display only.
    Table control should look like-(Those in bold are read only or in display mode)
    <b>Name1            Idno1 </b>         Address1
    <b>Name2            Idno2</b>          Address2
    <b>Name3            Idno3  </b>        Address3
    <b>Name4            Idno4</b>          Address4
    (Blank row to enter name idno and address)
    (Blank row to enter name idno and address)
    (Blank row to enter name idno and address)
    My table control should display all the above fields the way it is above of which first two colums and 4 rows should be read only,and the rest of the empty rows in the TC should be in change mode.i.e it must have provision to add new rows but not change the first two columns of existing rows.
    In short I am looking at solution to hide particular no of rows and columns and <b>not the entire column.</b>

    In the PBO of the table control loop. just write these statements
    NAME and IDNO considering the fields on the screen.
    and WA_TAB is the table work area being passed to the table control to display the rows.
    if not WA_TAB-NAME is initial and not WA_TAB-IDNO is initial.
    loop at screen.
    if screen-name = 'NAME' or
       screen-name = 'IDNO'.
    screen-input = <b>0</b>.
    modify screen.
    endif.
    endloop.
    endif.
    which means that the fields are disabled only if NAME and IDNO are not initial.
    Regards
    - Gopi

  • Select email pop-up box

    select email - I've accidentally switched from 'Desktop Email Application' to 'Internet Email' and now can't get the pop box back to revert. Can someone please help me as it's sending me crackers. It's this box here:

    I've found a solution that seems to work. I've gone in to MS Outlook > Options. Adobe Acrobat was appearing in my Add-Ins. I uninstalled it from my add-ins and it seems to have fixed the problem.
    Hooray - it's taken me all day, I'm going to have a beer!!!

  • Making Read Only A select List Item

    Hi,
    I am using Application Express 3.1.1.00.09 version.
    If the date field is future date then the Select List field should become Read only.
    I tried to make "read only".
    When I made it "read only" '>[] is displayed???
    Does some one have a solution?
    Thanks,
    Priyanka.

    Hi Leckraj,
    I assume that
    the select list is not displayed at all.means that your page item is not rendered as a select list input control, but it's rendered as text only, right? That's the nature of the read only condition, it will render almost all controls as text only.
    About the dynamic action solution. That can be simplified and doesn't require a hidden item or JavaScript.
    1) Create a dynamic action which fires for the "Page Load" event
    2) As (Server Side) Condition Type set "exists (SQL quer returns...)" and specify your SQL statement
    3) Use a "Disable" action to disable your select list page item
    The above dynamic action will only be included and executed on the page, if the SQL statement returns a value.
    Note: Please keep in mind that dynamic actions are browser based operations, for a skilled user it's no problem to enable the select list and modify the value. To secure it you should add a server side validation to verify if the user is really allowed to modify the value. That's the difference to the "Read Only Condition", because in that case the APEX engine guarantee that the value can't be modified.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Select in read only transaction mode / insert in write mode

    hello,
    i have a following question: i have 2 db, one is rdb and one oracle
    im extracting data out of table out of rdb and inserting them into oracle via OWB;
    however this is run in read-write mode and causes locks in rdb; the only way to prevent locks is to run a select statement that accesses rdb in 'read only' transaction mode;
    my question is: is this possible to split up the select and insert statements of oracle into 2 different transaction modes, so that select statement is run in 'read-only' mode and insert in 'write' mode?
    i appreicate tips on how this could be achieved
    thx
    rgds

    Hello,
    is this something like:
    insert into oracle_table (select * from rdb_table@rdb_link);
    Then it is easy, you just need to use an sql init file for your OCI Service. Create a file, e.g. sql_init.ini that contains this line:
    declare transaction read only;
    Then alter your service so that it sees the sql init file, e.g.:
    SQLSRV> alter service <your OCI service> sql_init_file sql_init.ini
    The service owner must have the privileges to read the file. You need to restart the OCI service.
    Then a statement of the above kind results in a read only transaction on Rdb side, and the insert on Oracle side is done.
    I hope your SQL/Services version is a recent one (actual version is 7.3.1), because of this (from the SQL/Services Release Notes 7.2.0.1):
    5.4.25 Declare Transaction in SQL Init File Being Overridden
    In releases of OCI Services for Oracle Rdb prior to 7.2.0.1, if a DECLARE
    TRANSACTION statement was executed in the SQL initialization file of a service, it would
    be overridden by a DECLARE TRANSACTION statement executed later by OCI Services
    for Oracle Rdb. Toward the end of the connection setup, OCI Services for Oracle Rdb would
    execute a DECLARE TRANSACTION statement to set the default transaction
    characteristics to be close to Oracle default transaction characteristics. This would supersede
    any DECLARE TRANSACTION statement in the SQL initialization file. Starting with
    release 7.2.0.1, OCI Services for Oracle Rdb recognizes that a DECLARE TRANSACTION
    statement has been executed and will not execute another one.
    Regards
    Wolfgang
    P.S.: It is always better to place Rdb related questions in our communities at https://communities.oracle.com/portal/server.pt/community/rdb_product_family_on_openvms . Those are watched by Rdb Engineering and Support. It was by pure chance that I saw this forum thread.

  • Using edit box in Read only mode

    I am using JDeveloper 10.1.3.1.0 with OAF.
    In one page I have created one region with a few edit boxes. In this region I want to display the information using the edit boxes in a "Read Only" mode so that it matches with the same background colour.
    If the content of the edit box is small, i.e.: a few characters long, but if the content is large about 150 characters, then if I make the edit box read only, then it does not come to a new line. For this I have to make the edit box in "Disabled" mode. In "Disabled" mode only, the long message is shown in multilines. But my problem is that, when I make is "Disabled, it does not become uniform with other edit boxes with the same background colour. Can you please suggest, how can I address this problem.
    Regards

    HawkerHunter,
    I am using JDeveloper 10.1.3.1.0 with OAF.I stopped reading after that sentence. You should use the [url http://forums.oracle.com/forums/forum.jspa?forumID=210]OA Framework Forum
    John

  • How to make an list row Read only

    Hi All,
        Can anyone please tel me how to make the List row (list item) read only where the status column value is Submit.(i.e the whole row has to be made as readonly, am using event handler to try this out)
    Thanks in advance 

    Hi,
    According to your description, my understanding is that you want to set the list item read only based on the status column.
    If you want to do it using Event Receiver, you need to check the status column value using Server Object Model, then break role  Inheritance and rest role assignments to set the item read only.
    Here are some detailed code demo for your reference:
    Change SharePoint list item permissions to Read only programmatically
    How to: Create an Event Receiver
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Select List problem

    I have 3 select lists: the first two are with submit and the last one is just select list. Each list depends on the previous one.
    I have set null and default values for each list. The problem occurs when I first start the application, but after selecting an option in the first list all is fine and when I reset the fields everything works as it should.
    So the problem only occurs when the application is first launched....
    This is the error message:
    Error: ORA-01858: a non-numeric character was found where a numeric was expected performing List of Values query: "SELECT TESTTIME d, TESTTIME r FROM TESTSETUP WHERE TESTDATE = :P3_TESTDATE and TERM = :P3_TERM ".
    How can this be corrected?
    Any help would be greatly appreciated.
    Thank - Greg

    I have set null and default values for each list
    These values are not available in committed session state for the subsequent select lists to use.
    Solution: Create a OnLoad Before Header computation (conditional upon the value of the select list being null) to set it to whatever null/default value you want. This will "initialize" the value so that your dependent select lists can work properly.

  • Open a document in read only mode

    HI All,
    I created a panel in which we have
    edit box which shows the document path
    Browse button to allow a user to select an indesign document
    "Open read only" button.
    My requirement is that after selecting an Indesign document if user click to "OPen read only" button then it will opened selected document in read only mode.
    I will be highly thankfull to all community memeber if anyone can give me some hint to achieve this.
    Regards,
    Alam

    Alam,
    If you change the attributes of the file before opening it to read only the file will be opened as read only by Indesign. And then you could place a responder that could clear this read only flag when the file is being closed so that the permissions are restored to the original state.
    Manan Joshi
      - Efficient InDesign Solutions -
    MetaDesign Solutions
    http://metadesignsolutions.com/services/indesign-development.php

  • Select list defaulting to first value

    APEX Version: 4.1.1.00.23
    Oracle Database: 11g
    Issue: The application is updating the selected value from the Select list (Y/N) to the database but in front end, the select list is defaulted to display only the first value in the list. What I find is the datatype of the field in the table that this select list is tied to is CHAR(2). And upon changing it to VARCHAR2(2), it worked fine. Now whichever option I choose from the select list is updated and displayed at front as well.
    I do not understand why is this messing up with CHAR(2). Anyone please explain, I would really appreciate that.
    Thanks,
    Samip

    never use CHAR() in your tables.
    CHAR will always pad your strings to the exact same length.
    In your case, you are comparing the table value of 'Y ' to the List value of 'Y'.
    declare
      a  char(2) := 'Y';
      b varchar2(2) := 'Y';
    begin
      dbms_output.put_line('variable A has length of ' || length( a ) ); -- this will ALWAYS have a length of 2
      dbms_output.put_line('variable A has length of ' || length( b ) );
    end;

Maybe you are looking for

  • No data in Usage and Standby?

    Hi, I have recently exchanged my white 16GB iphone at the local retail store, but have just noticed that since I exchanged it there does not seem to be any Usage figures in the general settings. By that I mean the "usage" and "standby" are blank, abo

  • Check one time account vendor invoice

    Hi, Posting one time account vendor invoice the system shows a pop-up to enter address bank data (table BSEC). Is there any user-exit or SAP note which you can make a field (eg. BSEC-STCD1) obligatory and another (eg. BSEC-STCD3) not editable ? Other

  • Acrobat 8 download issues

    I brought Adobe Acrobat 8 and it has been working fine , but I brought a new computer windows 8 and i cannot download acrobat 8 again

  • Do I have to turn on settings to do split screen on iMovie?

    Hi, im having a problem with my iMovie. I tried split screening on my iMovie and it didnt give me an option to do so.  I was wondering if there is a setting that i have to turn on to get certain options? Like green screen and side-by-side.  Please he

  • DTD vs. XSD

    I am running Netweaver Developer Studio 7.0.0.9 How come NWDS will only accept DTD instead of XSD for XML schema?