The highlight in the selection list values

I have a list of selection of a code that display additional values. Usually I would only code values where the obsolete_ind = "N" and limits the selection to these codes, but when a record is displayed with a code rendered obsolete once the record was initially created, I MUST allow display additional values. IIF, that I don't have, the first value in the list by default, and it seems that it is the current value, which is not true!
So, I have 'show extra values', but I would like to avoid the registration of 'saved' by using the now obsolete value. Of course, a validation that will solve, but the user will not know who are the valid codes to select.
Can specific values highlighted in red or something? If the tag selectlist < option value = "" > id has also been = "", a code for the dynamic action, but I do not see how to add this 'id' to the tag option. "
Any suggestions?

Some options that come to mind
-use apex_item to build your selection list, the parameter cattributes allows you to easily add custom attributes to color some entries
-Several times in the past, I've seen some old values of code marked with an asterisk, then users are educated to know that they are the older options and validation (browser or submit) it applied.
-Having a display-only field that shows the current value and a selection list that offers only the current options

Scott

Tags: Database

Similar Questions

  • The selection list value does not change when the page is sent

    Hi all

    I have a selection list that acts as an entry for the report. the page is submitted using a button.
    The button uses the branch option "redirecting to page in the application. I select the same page.

    The problem is when I change other values in the value list always takes the first value

    I want to know if the problem is with the key or select list. What should I do about it?

    Concerning
    REDA

    Renon wrote:

    I tried your suggestion. Now that I ask, is the report is expected to show only when the button request is passed. I read to present the action of page the name of the button acts as a request.
    so now my report status is request = Expression1 and value of expression1 takes GO tell button name.

    The report does not appear but. I checked the session. It has the value of the selection list and the page is submitted as but the report is not displayed.

    ASK is disabled before the exposure treatment page unless it is set in a branch or a URL, this is why it has no value when they are referenced in your State in the region.

    Set the attribute request in your branch for & request to make available at the course to see the page the current value of the demand for treatment.

  • setting the selection list values in the tabular presentation

    Hi all

    I have a form of a table with a column that contains lists of selection I need to set the values for all rows in the form of tables.
    I'm trying to set the values on the click of a button, but apparently not enough to work.

    Is there another way to do it, perhaps with javascript?

    Any help would be appreciated.

    Kind regards
    Cleo

    Cleo,

    He's working now, sorry I missed the fundamental thing that you try on a selection list and not entry, as says my above entry script...

    Just use this code

    $('select[name="f10"]').val('Y');
    
    //OR this if you need to loop through them
    
    function approveAll(){
       jQuery.each($('select[name="f10"]'), function(i) {
        this.value ='Y';
      });
    }
    

    It was me!

    Published by: VC on July 13, 2012 15:57

  • The selection list value is not in the table

    Hi people

    I have a DML page; I put an a field at the top of the HTML to a selection list, of a dynamic LOV.

    I put it to display the name and return the value of the corresponding id.

    However, nothing gets entered or changed in the table (or on the pages in the Apex, in the table that I have reviewed in SQL * workshop)

    For the parameters of the ARTICLE: what should be the specifications from the Source?

    Should I pay something in the Page processing: Panel process?

    Thank you-
    Marion

    Hello

    Try to write the name of the column to uppercase.
    I think that wrap apex double quote when inserting

    BR, Jari

  • Refresh the report area of PL/SQL (not Page) using the value of the select list

    Hello

    I have a report region based on a "body of the PL/SQL function returning a query'which SQL is generated on the selection of a value of an element from the selection list, select action list is"Redirect and set", but this causes the entire page refresh rather than just the region report." I tried to update the report using only a dynamic action on the item list select (Action now reset to 'None'), but now the report does not appear on the choice of the list. Can someone suggest a solution that will allow me to update this report without refreshing the page? I use APEX 4.2.2 and the syntax of the statement is as follows:

    DECLARE

    v_statement VARCHAR2 (500);

    BEGIN

    SELECT query_text
    IN v_statement
    OF sql_queries
    WHERE query_id =: P2_QUERY;

    RETURN v_statement;

    END;

    where P2_QUERY is Select list item,

    Kind regards

    Kevin.

    KevinFitz wrote:

    The displayed report region is subordinate to the point P2_QUERY is NOT NULL. I guess that the region appears not is because the Action for the select list item is set to None, and so P2_QUERY is always NULL.

    No, the region does not appear because it is subordinated to the P2_QUERY being NOT NULL. This means that the region of report never exists on the page displayed in the browser, so it cannot be updated dynamically. (Dynamic updating is not to evaluate the conditions of the region, and she makes only the content of the report, not the whole region again).

    Remove the condition on the region to report, check the update works and then go back on what exactly are the requirements here. If you want to the area appear only when P2_QUERY has a value, and you want it to be regenerated without submitting and reposting of the page, the region must then be hidden rather than conditionally restored and shown via dynamic when action P2_QUERY Gets a value.

    I tried to add a further Action for the event real value DA but has been a mistake, as stated above,

    All irrelevant if Page to submit items on the region is used correctly.

  • By the way Select list value to another page via report link

    Hello

    I have a page 1001 with an item from the selection list (SLI), a button (BTN) and a report (EPR).

    After selecting a value of the element of selection it s possible to click on the button.

    After clicking the report button will display the data. Report structure: ID, COL1, COL2, COL3, COD values in COL1 is the links to the page 1011.

    I managed to pass the value of a column in the report, but how to pass the value of SLI this link?

    I tried: SLI, SLI, #SLI # and & SLI... but nothing has worked.

    You have an idea?

    1013248 wrote:

    Please update your forum profile with a real handle instead of '1013248 '.

    I have a page 1001 with an item from the selection list (SLI), a button (BTN) and a report (EPR).

    After selecting a value of the element of selection it s possible to click on the button.

    After clicking the report button will display the data. Report structure: ID, COL1, COL2, COL3, COD values in COL1 is the links to the page 1011.

    I managed to pass the value of a column in the report, but how to pass the value of SLI this link?

    I tried: SLI, SLI, #SLI # and & SLI... but nothing has worked.

    You have an idea?

    Use the exact static text substitution method to reference the value of the element. This requires an end point ('.) ») :

    &SLI.
    
  • Reset the value of the selection list

    APEX version: 4.2.2

    I'm fighting to implement a solution to reset the value of an element from the list of selection on a page in my application.

    I currently have about 4 pages in my application with a level of tabs with every page on its own tab.

    I have a report of Emp page that lists employees. The page contains an element of selection list for emp_no who submits the page when the value changes. The query for the list of selection queries the emp for name and emp_no table. It has:
    Display additional values: Yes
    Display Null values: Yes
    Display NULL value: all THE
    Return NULL value:
    (no value for the return NULL value)
    Page, in itself, works the way you want. During the first visit to the page, EVERYTHING is selected and the report shows all the EMOS. If I select a specific employee, the page refreshes with just this employee.

    On the Main page is another employee list report. The report has a link between the employee id column and the Emp report page. The link sets the value of Emp.emp_no to the value of Main.emp_no. It works very well so if I take emp hand 123, 123 shows Emp.emp_no and the report shows that retail for emp 123.

    The problem is when a specific employee has been selected previously from the homepage or the Emp page and I click on a tab to another page, say the status tab / page and then click on the tab of the page of the Emp. The current behavior of the page, is that it continues to show some used was previously selected regardless of how it has been set, either Emp or to the homepage page. I want to reset select Emp.emp_no ALL (or null) if I navigate to the page of the Emp to any other page except hand or Emp itself.

    I searched through the forums and tried to use processes at the level of the page and after region to reset the value of Emp.emp_no, but nothing has worked. I believe there is a 'simple' way to do it that doesn't require coding on each page to set Emp.emp_no on a null value before calling it.

    I would like ideas on solving this seemingly simple task that has managed to escape.

    Thanks in advance.

    cagora

    Use a query in your link for filtering the selection list. Create a compuation on the definition page of the selection to NULL list if the request is NULL > PL/SQL Expression >: APPLICATION IS NULL. In this way, you can check the list of selection gets nulled while accessing the page normally.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    https://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Value for the select list

    Hello


    Can someone please let me know how to value to select list (display Null value: Yes, the Null value to display:--select--) through the text field and button.) When I enter a value in the text field and click the button, and then select field must be filled with the respective value.

    I tried to make it through the writing of a query in the source and through dynamic action button, they are populating the value to select the list but we null is folded down, then we must click on the selection list to display the value, but I want the value that is returned to be visible visible null instead.


    Kind regards
    Shoaib

    Hello
    >
    Can someone please let me know how to value to select list (display Null value: Yes, the Null value to display:--select--) through the text field and button.) When I enter a value in the text field and click the button, and then select field must be filled with the respective value.
    >
    a. What is the source of the LoV? Static? Dynamics?
    b. the value that you set using point and button is the value display or the return value of the LoV? It should be the return value.
    >
    I tried to make it through the writing of a query in the source and through dynamic action button, they are populating the value to select the list but we null is folded down, then we must click on the selection list to display the value, but I want the value that is returned to be visible visible null instead.
    >

    As you mention DA, you are on 4.x. But it is better to ask clearly the Apex version.
    See you soon,.

    PS: What you have specified in the Retrun Null value?

    Published by: Dominique on July 20, 2012 13:31

  • Refreshing a report on the change in value of the selection list

    -Very well, this should be very easy, but I can't seem to do things.

    I have 2 items on a page: a list of selection and a report.

    The report contains a WHERE clause that uses the value of the selection list.

    So when I change the value of the selection list, the report needs to be recharged.

    I don't want to use a 'Redirect and set' when I change the selection list, because I don't think it's very pretty.

    So I created a dynamic action that updates the State when the selection list is changed.

    Now for the problem: the report get updated, but the new value of the selection list is not used!

    How can I make select the value of the item to be stored in session state?

    I can't find this option anywhere in the parameters of the dynamic action.

    Thank you.

    popovitsj wrote:

    How can I make select the value of the item to be stored in session state?

    I can't find this option anywhere in the parameters of the dynamic action.

    It is in the region of report definition: Page to submit items in the Source section.

  • Sending e-mail based on the value selected in the select list

    Hi all
    I have a request when there is a list of select 'Choose with Submit', considers this point as & P5_STATUS. with 2 values approved and rejected.
    There are 2 methods of mail send different:
    1. process e-mail with approved content, that will be executed when the approved value is returned by the select list item "Status,"
    2 process e-mail with rejected, elements that will be executed when the rejected value is returned by the select list item "Status,"

    The foregoing is the requirement.

    How I can get it working, what exactly should I do in the part 'Condition' of the 2-mail process.

    Help, please!

    Hi Suzi,

    You must select "value of element in the Expression 1 = Expression 2" as a condition in the process of your mail. For the approved procedure, write approved as Expression 2 in the State and rejected for the rejection process. For both processes write P5_STATUS in the Expression 1.

    Hope that helps.

    Kind regards

    Sergio

  • Select list value is changed to the previous value.

    I have a selection list. When the user leaves the page, I reset the selection list to a default via javascript. However, when the user returns to the page, the selection list is in some sort to reset the previous value, the user has selected.

    What is the cause, or how I can fix this problem?

    Hello

    You could have what ever in the HTML by JavaScript document.

    Check the status of the database session. In the developer toolbar, there is option for that.
    http://download.Oracle.com/docs/CD/E17556_01/doc/user.40/e15517/concept.htm#sthref108

    Also check that you have all the calculations and what is your source of point.

    Kind regards
    Jari

  • By default, all the value in the selection list, so Select percent select list

    Hello

    I created the application process to extract the name of the State in the selection list based on the name of the city.
    Now I need if I don't have the name of the city and I select % in city name select list then any name should come in the select list.
    Now if I select % in select list and then he shows me empty in state name select list.

    How can I extract all the name of the State if I select % in select list.

    My application process
    BEGIN
      OWA_UTIL.mime_header ('text/xml', FALSE);
      HTP.p ('Cache-Control: no-cache');
      HTP.p ('Pragma: no-cache');
      OWA_UTIL.http_header_close;
    htp.prn('<data>');
       HTP.prn ('<select>');
       FOR c IN (select S.NAME,S.CODE from STATE_MAS S,CITY_MAS C where C.STATE_CODE=S.CODE AND C.CODE =:SELECT5)
    LOOP
      HTP.prn ('<option value="' || c.CODE || '">' || c.NAME || '</option>');
       END LOOP;
    
       HTP.prn ('</select>');
    htp.prn('</data>');
    
    END;
    My city name Table

    CREATE TABLE  "CITY_MAS" 
       (     "CODE" VARCHAR2(3) NOT NULL ENABLE, 
         "NAME" VARCHAR2(1000) NOT NULL ENABLE, 
         "STATE_CODE" VARCHAR2(3) NOT NULL ENABLE 
            )
    My name status Table

    CREATE TABLE  "STATE_MAS" 
       (     "CODE" VARCHAR2(3) NOT NULL ENABLE, 
         "NAME" VARCHAR2(50) NOT NULL ENABLE 
         )
    /
    How can I do that.

    Thank you

    Published by: 805629 on January 25, 2011 02:06

    Change the cursor query loop to handle this

    select S.NAME,S.CODE from STATE_MAS S,CITY_MAS C where C.STATE_CODE=S.CODE AND C.CODE =:SELECT5
    

    TO

    select S.NAME,S.CODE from STATE_MAS S,CITY_MAS C where C.STATE_CODE=S.CODE AND
    ( C.CODE =:SELECT5 OR :SELECT5 = '%' )
    
  • Select the value of the text element based on the selection list

    Hello

    I have a selection list that displays a number of codes of a table, and I want to display the description of the code (from the same table) in a field of text next to it.

    The selection list works good based on an LOV, but I can't seem to find how to get the return value, so I can identify the correct description of the table to be displayed.

    Thank you

    See this link: http://htmldb.oracle.com/pls/otn/f?p=31517:80:6340934958598741:NO

    It will have a lov that calls an application process that fills a text box...

    Thank you

    Tony Miller
    Webster, TX

  • Null value in the selection list

    I was wondering if there is a way to get a select list to return a value zero?

    I have a query with a condition like this where clause
    instr(upper("TYPE"),upper(nvl(:P3_TYPE,"TYPE"))) > 0 
    Where: P3_TYPE is a selection list. However, when it is null, no value no is returned in the report of sql - I guess that the nvl function is not picking up with the null value. I just that it displays all of the records when the value is zero in the list.

    Thanks in advance,
    Trent

    use

    instr(upper("TYPE"),upper(nvl(DECODE(:P3_TYPE,'null',NULL,:P3_TYPE),"TYPE"))) > 0
    

    When your selection list returns "null" for NULL values. Please note that select the return list value is a string that is not equivalent to PL/SQL NULL

    See you soon,.
    Hari

  • Select the color based on the value of the selected list

    Hello

    Is could someone please tell me if it is possible to display a LOV with a background color according to the selected value?

    In fact, I have a report with many selection lists whose value can be N/A Y, N, and I would like that the corresponding LOVs have the background in color according to the value.

    Thanks in advance,

    Andreea

    Published by: user12064977 on October 20, 2009 02:15

    Oh! I have not read the word "report" in your original post and I took your page as a form... :(

    OK, first of all, run your page and see the HTML source generated for it. Note the value of the attribute "name" for all the columns in the report when you use selection lists. Now using JS, set the background color for them.

    Suppose "f03" is the name for your selection list value, then

    Try the code in the following page footer section

    
    
    CheersHari 
    

Maybe you are looking for

  • This identifier apple has not yet been used with the App store.

    I bought my macbook pro to my brother and always used without my Apple ID and then I decided to restore the macbook to the factory because of some problems with the performance setting, when I hit install OS X Yosemite on the disk, it asks you to log

  • Closure of the Clones of models

    I use a Template and VI server to create several "clones" that allows me to perform several tasks in parallel.  The Clones are written as a stand-alone VI, with a stop button on the control panel until I push by program to stop the Clone.  If I creat

  • Why do I get error 42 when I build a RT - exe with numbers in the target file?

    I can build a RT - exe without number in the filename target without any problems. As soon as I put a number in the name of the file target, let's start1.rtexe, I get the following error: Fehler ist bei Ordner create 42 in create a directory Recursiv

  • Presario c700: 76326917

    Try to log in, I finally receive a blue box that says enter the unlock password key: 76326919 Iattempt enter in wood by repeatedly pressing the ESC key, but after several attempts, I m always brough to this message. You have my unlock password? I wou

  • Re-installation of operating system could not and cannot start the current operating system?

    OK to start, im using xp, I wanted to reinstall xp using the dvd I got with it. then I ran xp and has not clicked upgrade, instead I clicked on new installation. after it is finished, restart the pc and I went to the configuration screen. I went stra