List of selection with redirection on APEX 4.0

Hello
I have already used the apex 3.2 a few years back and am now working on something using 4.0. I want to conditionally display a field in a form that is based on the option selected in the select list. Previously, I would have the condition set on the field to display so certain the selection was made on the selection list, and this list would be defined as a selection list with redirect, likely to view or remove the field from the screen. Now, it seems that select lis with redirect has been removed from the APEX 4.0 and replaced by LOVs cascading, which is not good that the conditional is a text field. Can someone tell me how to set up this feature?

Thank you

Mark

Apex 4.0, you need to create an action show/hide dynamics, triggered when the selection list item is changed.

Tags: Database

Similar Questions

  • List of selection with redirection sets the values to null

    I saw another post with a similar issue. However, the answer given does not work for me.

    I have a "Site" text field whose value depends on a list of select 'customer '. I am able to set the value of "Site" based on the select list with redirect. However, other values on this page are reset to null.

    I saw an answer that says to change the display of selection list type to "select the list to submit." But this type of display requires a page that deals with the process is created. This solution did not help either.

    Any solution?

    If you follow this example, you will be able to set the status of the session without redirection / layout page:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:229

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

  • I need a box multi select drop-down list or list of selection with image or icon faclitliy

    Hello

    I tried to find a plugin or a jquery plugin that allows to perform the task of

    have a list of selection with images and there should be a facility such as multi select.

    How this can be accomplished. One have they implemented it in any of their application

    Any information will be greatly appreciated.

    Thank you

    pauljohny100 wrote:

    Hello

    I tried to find a plugin or a jquery plugin that allows to perform the task of

    have a list of selection with images and there should be a facility such as multi select.

    How this can be accomplished. One have they implemented it in any of their application

    Any information will be greatly appreciated.

    When ask questions user interface-related still State (at least) the full version of APEX, the theme and the version of browser compatibility / required.

    See the plugin jQuery Select2 , for which there is a plug in APEX .

    Pre-plugin when we have implemented requirements like this using a model report, CSS and personal...

  • List of selection with zero value Submit reset

    Hello
    I have two list of selection with new submission namely A and B, both are dynamically filled with SQL query. The 'B' selection list is populated based on the value selected by the user from the list "A".
    The problem comes when the user has selected a value from list "B" and by changing the value of 'A', the current value of the 'B' list indicates the value selected previously.

    I'm new to APEX would be grateful if you could tell me How to reset the value of 'B' list when 'A' is selected.

    Thank you
    Spengler.

    Your list for ITEM B should allow a null value and the only other thing is to have a conditional process that fires when the request is POINT A. This process must assign POINT B null.

  • Select which type of list APEX 4 replaces the selection with redirection list in APEX3.1

    I have 3 selection lists. The first select list is filled with elements by default, independent of the other element values. The second list depends on the value chosen in the list of the first and the third list depends on the values selected in the list of the first and second.

    APEX 3.1 I did the first and the second list "Select list with redirection", because I don't want the page to be submitted, but I want only the values to set. This solution works very well.

    Now, I want to apply this solution in an APEX 4.0 page. The elements are all defined in a select list. I tried different settings-> Page Action options when the changed value. Redirecting to the page and URL redirection are not an option in this case.
    Submit the page and redirect and SetValue both entail the same problems: after choosing a value in Selectlist1 the other elements are reset, but selectlist2 is populated with the items I want. All elements of the page are reset after choosing a value in Selectlist2 and Selectlist2 (and selectlist3) are still empty.

    So my question is: what is the best option to choose when I want to fill the lists that depends on the other? Are there other solutions to use, and then select list with redirection and SetValue?

    Hello

    For dependent Select lists 4 APEX, LOV cascading is the way to go.

    On the second list, select under "List of values" define "Cascading LOV Parent éléments" =
    On the third first + second or third, only value according to your particular situation.

    And when the value modified the Page Action = None.

    Concerning

  • I have a list of selection with the value yes and no

    I am 10 select list with the value yes or no

    I need to launch a dynamic action, and so I have a variable that indicates the number of selection selected list which has been chosen as Yes or no...

    How can I realize this is apex 4.2 db 11g...

    Thank you

    Published by: zycoz100 on March 4, 2013 12:05

    Brute force method:

    Dynamic Action using a PL/SQL block with something like:

    count := 0;
    Begin
    If :P1_Select_List_1 = 'yes'
      count := count + 1;
    End If;
    If :P1_Select_List_2 = 'yes'
      count := count + 1;
    End If;
    If :P1_Select_List_3 = 'yes'
      count := count + 1;
    End If;
    . . .
    End; 
    

    ???
    Howard

  • datePicker with redirection

    Any thoughts on how to program a date picker component to use the redirect feature in apex?

    Version is 3.2.

    Just the quick background, I have several lists of selection with redirection working together in a simple form.
    I need to replicate this redirection feature with a date picker component, not only a list of selection.

    Glanced by the thought of the api available javascript that would be the solution, but not exactly to my taste.
    I think I could also brute force something custom JS as well, but don't want to reinvent the wheel if not unnecessary.

    Does anyone else have a solution?
    Thank you
    Hayden

    Hello
    Will attempt to answer these two questions together.

    The element of Page Date Picker has a Session State maintained by Apex. When you use the popup calendar the date appears in the Date on the Page element. However, JS sets the value in the DOM loaded HTML, and not in the Session State maintained by Apex.

    To set the session state that is persistent, do one of the following

    Option 1:

    a. causes the Page to be submitted to the JS using the doSubmit until the Apex 3.2 or apex.submit in 4.0
    b. check the box Save Session State in the Uncoditional / conditional branch that 'present' is to be taken.

    Option 2:

    In the function JS that give you the floor to the 'onchange' to the question of the Date event, write an AJAX process. Who is writing a process of Appilcation of OnDemand that you call js and passes the parameter containing the value date of the item. In the application process, you can use the apex_util.set_session_state API to set the value in Session State.

    Option 1 is usually adequate.

    Kind regards

  • When selecting a "select list with redirect', all variables are losing value

    I have a form where a field (: P38_CUSTOMER_ID) receives its value from the parent report and it appears as: "display text (saves the State)).".

    I have 2 fields from selection list. The first (: P38_COUNTRY) is shown in the form "select list with redirect.
    As soon as I select the value (name of the country) in this list box, I lose the value: P38_CUSTOMER_ID.

    An idea on what I need to do to ' P38_CUSTOMER_ID to avoid losing its value?

    Thanks in advance.

    You are welcome. There are many options to choose from ;-)

    Be sure to note the answers as people only get points if you do.

    Thank you
    Dimitri

  • Treatment options for form (use the value of a form field to select a shared list or a web redirect page)

    Hello

    I tried something with the processing of the forms which doesn't seem to work. I wonder if the function really works or if I'm doing something wrong.

    Here is an example of what I do: I have a form that I want to use. I add "Web Page redirection" processing step to my form. When I click on the processing step to set up, under "General settings" there is an option that says "Choose how the launch of destination page is selected." In this drop-down menu, there are three options: always redirect to the same landing page, use a drop-down list to select the landing page and the value of a form field allows you to select the destination page. I have a hidden field on the form that contains the URL of the web page to which I would like to redirect. When I select 'Use the value of a form field to select the landing page', I select the hidden field to the field that contains the URL of the web page to which I want to redirect. It's my setup. However, when I submit the form, nothing happens, I do not redirect to the URL contained in the hidden field... This function still works? I'm doing something wrong? I can't seem to get the function "Use a drop-down list to select the destination page" to work either. The same thing happens when I try to use the "Add Contact to shared the list" processing step. I add the name of the list that is shared in the field hidden, but the contact does not appear in the shared list... These functions still work? If yes how do I configure them?

    Thank you!

    Well, I understood the problem of the shared list... You must add the ID of the list shared in the hidden field. I had to use Firebug to see the real ID of the shared list. Once you have the ID, use you it as a static value in the field. If the HTML code of the form will look something like this:

    If you do not use the lookup data ID. You use the ID real asset on the shared list. You must use something like Firebug to find.

    I'm glad everything is working.

  • "Cannot select"[Gmail]"on the IMAP server. You could try refreshing your folder list to synchronize with the IMAP server. »

    Original title: "error message"

    I get this error message whenever I try to download my gmail account

    Header for the file download "[Gmail]" has not completed. Cannot select "[Gmail]" on the IMAP server. You could try refreshing your folder list to synchronize with the IMAP server. Account: 'imap.tools.sky.com', server: 'imap.tools.sky.com', Protocol: IMAP, server response: ' unknown mailbox: [Gmail] (failure)', Port: 993, secure (SSL): Yes, error number: 0x800CCCD2

    Please repost your question on the Forum of GMail at: http://www.google.com/support/forum/p/gmail/label?lid=745896f193361992&hl=en where the experts to GMail will be happy to help you.  You can also try technical assistance tohttp://mail.google.com/support/.  It is a GMail problem, not a problem of Vista.  If you use an e-mail program rather than online access, then it is possible that the e-mail program settings are incorrect. We do not know these settings but people to GMail.  That said, here's the IMAP settings for a number of e-mail programs (generic parameters - obviously not including your specific account):http://mail.google.com/support/bin/topic.py?hl=en&topic=12806.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Microsoft SQL Server 2014 (SP1 - CU4) (KB3106660) query failed with error ORDER BY items must appear in the select list if SELECT DISTINCT is specified.

    Hello
    I use Microsoft SQL Server 2014 (SP1 - CU4) (KB3106660) Enterprise Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1)

    SELECT DISTINCT A.PI_LOOKUP_CATEGORY_ID,
    REPLACE (REPLACE (UPPER (A.LOOKUP_CATEGORY_NAME), ' ', '_'), '-', '_') AS CATEGORY_TECH_NAME,
    A.LOOKUP_CATEGORY_NAME,
    A.LOOKUP_CATEGORY_DESCR,
    COUNT (B.PI_LOOKUP_CATEGORY_ID) AS USAGE_COUNT
    FROM [PI_LOOKUP_CATEGORY] A LEFT OUTER JOIN B [PI_INSIGHT_COLUMN] WE
    A.PI_LOOKUP_CATEGORY_ID = B.PI_LOOKUP_CATEGORY_ID
    A.PI_LOOKUP_CATEGORY_ID GROUP,
    REPLACE (REPLACE (UPPER (A.LOOKUP_CATEGORY_NAME), ' ', '_'), '-', '_').
    A.LOOKUP_CATEGORY_NAME,
    A.LOOKUP_CATEGORY_DESCR
    ORDER TO REPLACE (REPLACE (UPPER (A.LOOKUP_CATEGORY_NAME), ' ', '_'), '-', '_')

    above request is failed with error ' ORDER BY items must appear in the select list if SELECT DISTINCT is specified. " Microsoft SQL Server (SP1 - CU4) 2014 (KB3106660)

    same query works fine with older versions of SQL servers like (2008R2, or 2012)

    Please let me know the resolution of this problem...

    Thank you
    Touria

    Ask here:

    MSDN - SQL Server - Microsoft forums

  • Set the focus on the list of selection in the form of the APEX

    Dear friends,
    I want to set focus on the first field of the new line of tabular presentation.
    I used something like that.

    JavaScript:AddRow();
    $('input:enabled:visible:last').focus ();

    It works fine if the first field is the text field. but when I put the selection list in the first field in tabular form, it does not work.

    Can you help me in this problem.

    Thanks in advance.

    This is because a selection list is not an input field. The html code is different, where the selector of is not picking it up.
    If you were to use

    $('select:enabled:visible:last').focus();
    

    He would choose the latest list of selection (on the page).

  • How do the default editing a selection list after a change in another list of selection is made (not in cascade LOV).

    Hello

    I searched for the answer for a while now, but could not find a solution to my problem. It's a rather trivial issue, but after dealing with more urgent problems, I stuck with it and I can't move forward I use Apex 4.2.1

    OK, lets start with a description.

    I have two selection lists. After making a choice in the first, I would like to than the second value to change. It is not cascade LOV case, however, at least I don't.

    Let me give you an example. Suppose we have a table with name and default to the occupation.

    Name By default occupancy
    JohnDoctor
    MarkFirefighter
    GeorgeFirefighter
    TomConcierge

    End user first selects the name in the first list, then the occupation of another. It's perhaps not clearly in the example given, but the order of the questions.

    What I want is to force a change in the second value in the list after a choice in the first. So after the name is chosen, the occupation should switch to the default.

    The assignment is the most typical, but not the only one. So I want the end user to be able to change the occupation if necessary. Tom of sense is not to be janiotor, it can be whoever he wants this is why it is not cascade LOV problem.

    I tried with dynamic action - definition of value and then refresh. It works when the second selection list is the text field. I can't find a way to make it work with another selection list.

    Hope you can help.

    Concerning

    AEMs salvation,

    What I wanted with display and return value, you usually have a list of selection like this query:

    SELECT occupation d, occp_id r

    OF professions

    If your return value is an identifier. To use the text as return value is rather rare. Where my question, because obviously you must select the return value in your query, NOT the display value.

    So let me explain what is a set value. It takes the value of the server by using your query and AJAX in the background, then uses Javascript to set the value of the item in the browser.

    At this point your selection list still has the OLD value in the session. Then, you do a refresh and the element uses the old value, and it seems that nothing happens.

    So solution:

    -clear default values, you don't need those

    -get rid of refresh it in your DA

    Kind regards

    Joni

  • refresh the list of selection - keep value

    Hi all

    I'm having a problem where I don't have a solluion for. Maybe can someone help?

    The (Simplified) situation is as follows:
    There are 2 selection lists in my page:
    -one with articles (you see the name of the topic and the price). The source of this selection list is a query more ITEMS from collection.
    -one with countries (source is not important)

    When a user runs the page, the content of the selection with the items list is defined by a process that calls a procedure in a package to database; This package fills the collection of ARTICLES. So far so good. But when the user selects a country in the second, select list, the same procedure is called to update the ITEMS collection, because for some countries, the price is different. But how do I update the list of selection, while keeping the same selected article? When I run a dynamic action of refresh type, the value of the selection list is cleared. If I backup the value before updating the selection list and after refreshing, set the value of the selection list does not work or the other.

    I hope that the above is clear enough. Otherwise I'll set an example on apex.oracle.com.

    Thanks for your answer in advance!

    Edit: Version of the Apex is 4.2

    Edited by: tomvdduin, 3-dec-2012 0:16

    Hello

    The value of the P2_ARTICLES_BACKUP page element was not defined in the session state (as seen in the option 'session' in the developer toolbar).

    I changed the following:
    1. use of an action "Set the value" of the body of the function type pl/sql to update the value of P2_ARTICLES_BACKUP
    2 removed the last DA update the P2_ARTICLES value using javascript. It is not necessary. You had this code:

    $s('P2_ARTICLES',$v('P2_ARTICLES_BACKUP'));
    

    3. update the default value of P2_ARTICLES to & P2_ARTICLES_BACKUP.

    The changes described above solves your problem. Please test.

    Thank you
    Rohit

    Published by: jaouad khalifi on December 3, 2012 03:44

  • ORDER BY using for the column that is not in a select list of selection?

    Hi all.

    I have a selection list on an APEX at the apex.oracle.com page, and I would like to order by the value of the UnitOrder column.
    The SQL is:
    SELECT DISTINCT foodunit.name AS display_value, foodunit.foodunitid AS return_value
    FROM foodunit, food
    WHERE foodunit.foodid = :P18_FOODID
    ORDER BY foodunit.unitorder ASC;
    Of course, this code does not work. And since it's a selection list, I can't just add foodunit.unitorder to the SELECT statement. In addition, I can not get rid of the SEPARATE, because then for some reason, it tends to view an infinite amount of the same line...
    Order by UnitOrder is that all units that start with gram, mg, ml, kg,... etc., will be shown on top of the selection list. All other units of food will be shown on the second place and so on.
    The UnitOrder column contains 1 or 2 as the value. 1 is the value for all lines which should be displayed at the top of the list of selection, 2 is the value for the rest.

    So, what I want, it's all the lines in which the UnitOrder is 1, are displayed on top of the selection list. Usually only 2 list items get displayed in the list of selection at a time, depending on what food item a user has selected. The selection list is then refined to certain lines that match the foodid etc etc...

    If someone has an idea, I would be very happy to hear about it.

    I don't see a join between the tables of your foodunit and food. That would solve your problem of "endless amount"?

    (you can omit the food table of your selection)

Maybe you are looking for