apex_item. RadioGroup

Hello
I need help with the apex_item.radiogroup.
I get the table data in the report area. There is a column of State which has 'I' or 'A' idle assets. corresponding to a single record, we can have several under-reporting and
only one is active. In the region of report I'm showing the active and inactive radiobutton by rank. and if select no matter what row as being active in the report another radiobutton lines must be off then once I hit the update button I don't have to think that all the others went to inactive.

my query looks like

Select apex_item.hidden (10, primary_key) | recording,
apex_item. RadioGroup (3, h.status, 'A', 'Active'). apex_item. RadioGroup (3, h.status, 'I', 'Inactive').
cases where rec_flag = ' only then 'NO' also 'YES' end 'flag '.
table

If there are 4 selected lines based on this query only one command-line option button is highlighted.

I am new to apex and need your help.

Hello

For the question of the selection list - the fourth parameter of the APEX_ITEM. SELECT_LIST function allows for attributes, you can do:

apex_item.select_list(3, h.status, 'Active;A,Inactive;I','onchange="javascript:myfunction(this);"') "Status"

Then, you create a function called myfunction (ss) that is triggered by the value of the selection in evolution list - onclick is not used here. As we pass 'this' in the function, we can loop through all the lists of selection, except for the current and change their values as necessary:

function myfunction(ss)
{
 if (ss.value == 'A')
 {
  var sLists = document.getElementsByName('f03');
  var k;
  if (sLists)
  {
   for (k = 0; k < sLists.length; k++)
   {
    if (sLists[k] != ss)
    {
     sLists[k].value = 'I';
    }
   }
  }
 }
}

So, as long as we change the current list to A, then we change others to I.

For radio buttons, if you need to use the two buttons by rank, you should have a radiogroup i.e. separately for each line. Your use of "pk_table' for the inactive button must also be used for the active button. When the user clicks on either active or inactive, you will need to loop through all radiogroups and set the appropriate value.

To access all buttons, do something like:

var x = document.getElementsByTagName("INPUT");
var k;
if (x)
{
 for (k = 0; k < x.length; k++)
 {
  if (k.type == 'RADIO')
  {
   do something herre
  }
 }
}

Andy

Tags: Database

Similar Questions

  • apex_item. RadioGroup p_idx question of value

    All,

    I have an interactive data report with radio buttons 3. user can select a value radiobutton for processing.

    .......................................
    .......................................
    apex_item.radiogroup( p_idx => rownum , p_value => bestelling_id , p_selected_value => huidige_afdeling_id , p_display => 'LAB' , p_attributes => 'class="afdRadio afdLab" ' , p_onchange => 'javascript:setLab(this.value);' )  AS LAB ,
     apex_item.radiogroup( p_idx => rownum , p_value => bestelling_id , p_selected_value => huidige_afdeling_id , p_display => 'QC' , p_attributes => 'class="afdRadio afdQc" ' , p_onchange => 'javascript:setQC(this.value);' )  AS QC ,
    apex_item.radiogroup( p_idx => rownum , p_value => bestelling_id , p_selected_value => huidige_afdeling_id , p_display => 'Afhaaldesk' , p_attributes => 'class="afdRadio afdDesk" ' , p_onchange => 'javascript:setAfhaalDesk(this.value);' ) AS AFHAALDESK 
    ..............................
    
    
    
    
    

    Problem is that the report can return a large number of lines. Clicking a radiobutton and trying to present, sometimes an apex workflow exception is thrown. I discovered that this has to do with the value of rownum because the value of p_idx can be in 1 and 30.

    So what I did, is to replace rownum with a value of 1, this seems to have solved the problem.

    The other problem now is that when a user clicks a radiobutton on several lines, that is a single value according to the choice, but when to submit all the lines are subject for which the user has selected a value of the radiobutton.

    Example:

    The user select value LAB for 5 rows, but only to see the LAB in the last row selected radiobutton (not thinking that this line will be submitted), but all of the 5 ranks are submitted.

    With rownum all selected values are shown, but there again the we have the problem with the value of p_idx.

    Some tips on how I can fix this?

    Thank you

    Diana

    Hi Diana,

    This seems to be a wrong information:

    Problem is that the report can return a large number of lines. Clicking a radiobutton and trying to present, sometimes an apex workflow exception is thrown. I discovered that this has to do with the value of rownum because the value of p_idx can be in 1 and 30.

    Each APEX_ITEM. function has its first parameter as p_idx that can take a value between 1 and 50. Items by a column in tables which in turn when the page is submitted are mapped to the APEX_APPLICATION. G_F01 in APEX_APPLICATION. G_F50 arrays of type APEX_APPLICATION_GLOBAL. VC_ARR2 in apex session state.

    For the limits of the component you should refer to the following documentation: (see tabular forms)

    https://docs.Oracle.com/CD/E37097_01/doc.42/e35125/limits002.htm#HTMDB28632

    dianap says:

    Thanks Scott.

    I took the example of Vincent. But the problem is in the population of the p_idx with rownum parameter. Rownum can sometimes be greater than 30, and when this is the case, nothing can be submitted.

    Kind regards

    Diana

    Here the question of the solution of Vincent about the radiogroup will lines might exceed the > limit 50 when the rows in the underlying table are > 50.

    The solution uses the paging with the whole line displayed on a page of the report must be<50 (by="" default="" it="" is="" 15="">

    As Oracle APEX page submit takes into account only the game currently displayed rows (regardless what underlying table contains) for the treatment of the displayed tabular form.<50 rows="" pagination="" with="" vincent's="" solution="" will="">

    NOTE: Tabular normal every column has an index and the lines have no limitations, but in a solution of Vincent as it use rownum to index, so a new table will be created for each line.

    I hope that helps!

    Kind regards

    Kiran

  • Point of APEX_ITEM. Required RadioGroup

    Hello

    I use apex 4.2 with enterprise DB 11, I use APEX_ITEM.radiogroup to create a dynamic items according to the request, what I put this only required such radio group. I try to set in the process of page validation but the problem, it's that the value of the element will be reset whenever I click on the "submit" button.

    Any suggestion?

    Thanks for the reply,

    In fact I fix this by save the data into a temporary table, in my scenario, page it completely dynamic, which can include the Group of radio buttons and checkbox for X elements.

    Thank you very much

  • apex_item. RadioGroup in editable report

    How can I build a report updated with a radiogroup created by apex_item.radiogroup?

    I know that the syntax like
    APEX_ITEM. RADIOGROUP (deptno, ' 20', dname 1)

    but I want to have 5 different options in 1 radiogroup.
    How can I handle this?

    THX so far

    P.S.: I know that you can set a column to be a radiogroup but in my case, it must defined with the apex_item package.

    Hello

    Take a look on: Re: Radiogroup user in the form - there are several methods that you can use - details for each are presented in the pages of the app themselves rather than the thread

    Andy

  • Subject to a report RadioGroups

    Hello
    I am new to apex, using Apex 4.1.1. I created a report that contains two columns of dates and a radiogroup for each as follows:

    Select apex_item.radiogroup(1,report1) 'Radio 1'
    report 1
    apex_item.radiogroup(2,report2) 'Radio 2'
    Report2
    from (select distinct report_date cb_report Report1
    Sub1 order of report_date),
    (select Report2 separate report_date in cb_report)
    order of report_date) sub2
    where sub1.report1 = sub2.report2;


    This page is presented by a submit button which redirects to page 544. On page 544, I need to use the contents of the radiogroups in a query, such as:
    Select Column1 from cb_report where report_date = < radiogroup1 > or report_date = < radiogroup2 >;

    So far I was not able to use the values assigned to the radiogroups in my query on page 544. Among other things, I tried to use a process supported for page 544 to assign values to elements using the:
    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count
    LOOP
    IF APEX_APPLICATION. (I) G_F01 IS NOT NULL THEN
    : P544_RPT1_DATE: = APEX_APPLICATION. G_F01 (i);
    END IF;
    END LOOP;

    BECAUSE me in 1.APEX_APPLICATION. G_F02. Count
    LOOP
    IF APEX_APPLICATION. (I) G_F02 IS NOT NULL THEN
    : P544_RPT2_DATE: = APEX_APPLICATION. G_F02 (i);
    END IF;
    END LOOP;
    END;

    Could someone please provide an example of how to access the values of the radiogroups in a SQL report that race on the landing page, 544?

    Thank you for your help in advance.
    Robyn

    user2287264 wrote:
    So far I was not able to use the values assigned to the radiogroups in my query on page 544. Among other things, I tried to use a process supported for page 544 to assign values to elements using the:
    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count
    LOOP
    IF APEX_APPLICATION. (I) G_F01 IS NOT NULL THEN
    : P544_RPT1_DATE: = APEX_APPLICATION. G_F01 (i);
    END IF;
    END LOOP;

    BECAUSE me in 1.APEX_APPLICATION. G_F02. Count
    LOOP
    IF APEX_APPLICATION. (I) G_F02 IS NOT NULL THEN
    : P544_RPT2_DATE: = APEX_APPLICATION. G_F02 (i);
    END IF;
    END LOOP;
    END;

    Could someone please provide an example of how to access the values of the radiogroups in a SQL report that race on the landing page, 544?

    Thank you for your help in advance.
    Robyn

    Just change your process above to the present and the actual page (I mean the page you radiogroups) 544-no

  • RADIOGROUP function

    Will someone please tell me how to use the p_onfocus parameter in the APEX_ITEM. RADIOGROUP function? What is the syntax? I can't find an example of anywhere! How can I call my javascript function?
    TIA!

    Hello

    You need to place quotation marks around the javascript call and use null for parameters, you don't use, so:

    apex_item.radiogroup(1, pk_id, null, null, null, null, null, 'javascript:getValue();')
    

    Andy

  • How to refresh a coresponding report

    Hello

    hope that this is not a complicated question.

    What I want to achieve is to have master-child reports on the same page. And I would like to have the details (child records) to be updated whenever a new record is selected in the main report.

    appreciate your comments.

    Hello

    There are probably easier ways how to make things happen, using only declarative APEX features. I have created an example of a project based on the EMP and DEPT tables (83982 - mast_detDA) here:

    https://Apex.Oracle.com/pls/apex/

    workspace: tests

    user: supporter

    PWD: supporter1234

    so check it out how it's done.

    Main report using this select

    Select (apex_item.radiogroup)

    p_idx-online 1

    p_value-online Dept. DEPTNO,

    p_selected_value =>: P1_SELECTED_DEPT,

    p_onchange-online '$s ("P1_SELECTED_DEPT", this.value)') as DEPTNO,.

    DEPT. DNAME as DNAME,

    DEPT. As LOC LOC

    DEPT Dept

    defines a hidden item P1_SELECTED_DEPT when clicked. There is a dynamic action on this type of item selection - Action update, region.

    Select for the detailed report is:

    Select EMP. EMPNO as EMPNO,

    EMP. As ENAME ENAME,

    EMP. WORKSTATION,

    EMP. MGR as MGR,

    EMP. Hiring as HIREDATE date,

    EMP. SAL like SAL,

    EMP.COMM as COMM,

    EMP. DEPTNO as DEPTNO

    from EMP EMP

    where deptno =: P1_SELECTED_DEPT

    and the important thing here is to present the hidden element P1_SELECTED_DEPT.

    Hope that helps.

    Kind regards

    Pavel

  • How to order rownum?

    Hello!

    I have a simple code that selects the fields in a table:

    SELECT
      ROWNUM,
      question,
      APEX_ITEM.RADIOGROUP(ROWNUM, YES_SCORE, 2,  apex_lang.message('YES'), p_item_id => ROWNUM||'y') yes,
      APEX_ITEM.RADIOGROUP(ROWNUM, NO_SCORE, 2,  apex_lang.message('NO'),  p_item_id => ROWNUM||'n') no
    FROM question q
    WHERE question.id = :TYPE 
    ORDER BY ORDER_ID,ROWNUM;
    

    Now, I had insert an ORDER_ID field in the table to make the admin output lines in certain order and Add ORDER BY line code.

    Who messed up the column ROWNUM.

    Add column rownum differently to get the line numbers appear in the proper order (1, 2, 3,...)?

    IM using APEX 4.2.1.

    Hello

    You may

    SELECT rownum

    x.question

    APEX_ITEM. RADIOGROUP (rownum

    x.yes_score

    2

    apex_lang.message ('YES')

    p_item_id-online rownum | (' y') Yes

    APEX_ITEM. RADIOGROUP (rownum

    x.no_score

    2

    apex_lang.message ('NO')

    p_item_id-online rownum | ("no) no

    FROM (SELECT q.question

    q.yes_score

    q.no_score

    QUESTION q

    WHERE q.question.id =: TYPE

    ORDER BY q.order_id

    ) x

    ;

    (I assumed that yes_score and no_score are the 'question' column; suggestion: use the alias for the table names and precede all columns with the corresponding alias)

    Best regards

    Bruno Vroman

  • How to use an option button in the report of the IR to redirect itself to view another report

    IHH team, I have a requirement where I have an IR report option button. By clicking this radio button, another report appears under the main report with few other details of the selected item. The idea was to have a zoom of report as seen in the Group of MS Excel.  However, I am stuck because I don't want the user to press the "submit" button each time after selection of a radio button. I want the result to Report2 to change on the selection radio button in report 1.

    Please notify.

    Kind regards

    Samar

    for example

    Report1 details

    RB col_id text1 text2 Text3

    1 . abc erd 45

    2 ghj dfgrt 67

    Suppose the user selects the first option button, the page displays another report with details below the main report

    Report1 details

    col1_id text1 text2 Text3

    RB1 1 abc erd 45

    2 RB2 ghj dfgrt 67

    Report2 details

    col1_id col2_id text1 text2 Text3

    1 11 ihj pkpk 78

    1 23 ljl kpk 45

    user6255521 wrote:

    Please update your forum profile with a real handle instead of 'user6255521': Video tutorial how to change username available

    When asking a question, always include the information referred to in these guidelines: How to get the answers from the forum

    I was able to achieve using the linl. I created a link on the col_id and it redirected to itself after you set the value of col2_id. I also changed the style of the button link and so col1_id looks like a button.

    However, I was interested to know if we can achieve this with a radio button and use the update form the Report2.

    You mean like this? It is very simple to implement using dynamic measurements.

    1. Add a column of radio group to the main report:

    select
        apex_item.radiogroup(1, d.department_id) rbg
      , d.*
    from
        oehr_departments d
    

    APEX 5.0, apply a static ID "rbg" to the column of radio group.

    2. create a hidden page unprotected element to maintain the value of the selected radio button to use as a filter in the detailed report. In the example, it is P31_DEPARTMENT_ID.

    3 refer to the element of filter in the WHERE clause of the report detail:

    select
        *
    from
        oehr_employees
    where
        department_id = :p31_department_id
    

    Set the Items property of the Page to send in the definition of report P31_DEPARTMENT_IDretail area.

    4. create a dynamic action of change on the Group of radio buttons:

    Event: Change

    Selection type: jQuery Selector

    jQuery Selector:td[headers="rbg"] input[type="radio"]

    Real Actions

    Seq: 10

    Action: Set value

    Type of value: Expression of JavaScript

    JavaScript expression:$(this.triggeringElement).val()

    Selection type: Article (s)

    Point: P31_DEPARTMENT_ID

    Seq: 20

    Action: Discount

    Selection type: Region

    Region:

    The best way to get help with something like that is for you to reproduce the problem with an example on apex.oracle.com. Set up as much as you can before posting here and when you post the question, share identification information of developer comments for the workspace so that we can see the example and work the solution directly.

  • Report of the Summit with the details below for a record

    Hello

    I'm looking for an answer to my problem:

    We have a report that contains many ~ 60.

    And is not very user-friendly because it is so wide table.

    It is possible to see some less important columns as information additional report below.

    for a single record in the report. For example, the user selects the radio button of the first column and details are updated for this record.

    (if it is possible to group information in tabs)

    Thank you very much for your answers.

    Hello

    Here is an example

    https://Apex.Oracle.com/pls/Apex/Apex/f?p=39006:41

    Create a hidden item which is not protected. In my case the name of the element is P41_DEPTNO

    First report query

    select
    APEX_ITEM.RADIOGROUP(1,DEPTNO,:P41_DEPTNO) AS rg,
    EMPNO,
    ENAME,
    JOB,
    MGR,
    HIREDATE,
    SAL,
    COMM,
    DEPTNO
    FROM EMP
    

    Second report query

    select LOC,
      DNAME,
      DEPTNO
    from DEPT
    WHERE DEPTNO = :P41_DEPTNO
    

    In the second region report defined the elements of the Page to submit your name for the hidden item.

    Create dynamic action

    -event: change

    -Selection Type: jQuery Selector

    -jQuery selector: input [name = f01]

    -Action: Value set

    -Set type: Expression JavaScript

    -Expression JavaScript: this.triggeringElement.value;

    -Selection Type: Item (s)

    -Article (s):

    Then add an another true dynamic action event

    -Action: update

    -Selection Type: region

    -Region:

  • custom layout and update the page elements

    Hello

    I'm working on an APEX application, I need a page to view issues and alternative options, such as only choose radio group or mutiple shoose by box. The user will then check the answers. After the answer questions, send the page to get the score.

    The presentation must be: separate regions by the kind of question. in each region, the question in the first line; the four options in the second line, the checkbox or a radio Fund; in the bottom of the page, there is a button "submit".

    The tables are designed as follows,
    create the table RULE_QA_SHEETS
    (
    SHEET_ID NUMBER of non-null,--ID for the answer of the question sheet
    Category NUMBER not null, - use a tmplate to build the leaf, for example, numbers of gender issue, easy or difficult
    PERSON_ID NUMBER not null,-the user who was answering questions
    DATE OF ANSWER_DATE,
    NOTE VARCHAR2 (4000 TANK)
    )

    create the table RULE_QA_SHEET_ITEMS
    (
    ITEM_ID NUMBER not null,--ID for the question in this form.
    SHEET_ID NUMBER not null,--master id of the table.
    QUESTION_ID NUMBER not null,--ID for the issue in the inventory.
    MEET VARCHAR2(30 CHAR) - the answer the user checked, will be compared to the inventory. Once the user to submit the page, this column will be updated.
    )

    I've not found a good report APEX model, and I can use dynamic content plsql to generate the layout but no idea how to upgrade the right answers.

    Everyone has the same experience, or give me a help, that would be great!

    Thank you!

    Chongwu says:
    Here is the connection info.
    Workspace: CHONGWU
    User: dev1
    Password: 1qaz2wsx
    Answers and the Question of enforcement 42990

    Could you please give me an example of this? page 15, pls help to control dynamic pl/sql region that generates the page layout.

    See page 150 in your application. I started with a copy of your page 15 and brought some changes in regions of dynamic PL/SQL to produce more semantic HTML by using ordered lists and labels. Labels provide also bigger clickable/tangible goals by answering the questions.

    declare
    
      i number := 1;
    
    begin
    
      htp.p('
      '); for q in ( select q.qa_id , q.question , q.answer_a , q.answer_b , q.answer_c , q.answer_d from rule_qa q where q.question_type = 'S') loop htp.p('
    1. ' || q.question || '
        '); htp.p('
      1. ' || apex_item.radiogroup(i, 'A', null, p_item_id => 'q-' || i || '-a', p_item_label => q.answer_a) || ''); htp.p('
      2. ' || apex_item.radiogroup(i, 'B', null, p_item_id => 'q-' || i || '-b', p_item_label => q.answer_b) || ''); htp.p('
      3. ' || apex_item.radiogroup(i, 'C', null, p_item_id => 'q-' || i || '-c', p_item_label => q.answer_c) || ''); htp.p('
      4. ' || apex_item.radiogroup(i, 'D', null, p_item_id => 'q-' || i || '-d', p_item_label => q.answer_d) || ''); htp.p('
      '); i := i + 1; end loop; htp.p('
    '); end;

    Some CSS is required for formatting required and to get the labels actually appear:

    ol.questions>li {
      margin-bottom: 1em;
      font-weight: 600;
    }
    ol.answers {
      margin: 0.5em 2em;
      list-style: lower-alpha outside;
    }
      ol.answers>li {
        clear: left;
        margin: 0.5em 0;
        font-weight: 400;
      }
      ol.answers>li span {
        display: inline-block;
      }
      ol.answers>li label.hideMeButHearMe {
        position: static;
        top: auto;
      }
      ol.answers>li input {
        float: left;
        margin: 0 0.5em 0 0;
        padding: 0;
        vertical-align: middle;
      }
    

    Finally, there is a simple process that records the answers in a collection of the APEX. Collections are frequently used apps Q & A and survey to store responses temporarily before their final transformation:

    declare
    
      answer varchar2(32767);
    
    begin
    
      /*
        Create or empty the APEX collection used to temporarily store the user
        responses.
      */
      apex_collection.create_or_truncate_collection('ANSWERS');
    
      for i in 1..50
      loop
        /*
          Dynamically capture the contents of each apex_application array...
        */
        execute immediate '
            begin
              :1 := apex_util.table_to_string(apex_application.g_f' || to_char(i, 'fm09') || ');
            end;'
          using out answer;
    
        wwv_flow.debug('apex_application.g_f' || to_char(i, 'fm09') || ' = ' || answer);
    
        /*
          ...and if there's a response then record it in the collection.
        */
        if answer is not null
        then
          apex_collection.add_member(
              p_collection_name => 'ANSWERS'
            , p_n001 => i
            , p_c001 => answer);
        end if;
    
      end loop;
    
    end;
    

    It appeals to a rather horrible dynamic assessment of the apex_application tables. As Howard points out, there is only 50 of these paintings, which can be limited if you plan to have more than 50 questions. A common way to avoid these two problems is to present only one question at a time (turn-off to back on the same page in a sort of Pseudo-Assistant until all questions are answered), so you only need to refer to a single table, known.

    Note, however, that I am not keen on this model of single table. You can consider using a more flexible and extensible model as in This example.

  • Add radio button to each row of an interactive report: possible or not?

    First of all, let me explain what is the point of this application.
    I do an application that allows you to select an item in a drop-down selection list. This list is a list of food categories. Suppose the user selects "Fruit."
    Then the page refreshes and shows an interactive report with a list of foods which belongs to the category of fruit.

    This is where I want to change things:
    I want the user to be able to view the interactive report, but in this interactive report, I would like to add a button for each row.
    Then, when a certain type of food is selected (say "Strawberry") via the radio button, a text field should appear under the interactive report. In this textfield, the user can then add the weight of the food, and then it will calculate how many carbs in strawberries there.

    All that I really want to know is:*.
    How can I add an option button to each row of the interactive report, and how to bind this option button to the value of that particular line? *



    Additional information:
    The "P17_FOOD_CATEGORY" element contains the following LOV:
    Select FOODCATEGORYNAME as display_value, FOODCATEGORYID as return_value
    of FOODCATEGORY
    order by 1

    The 'Food' region contains the following source:
    Select a.FOODID, B.SID, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME unit
    food an inner join FOODCATEGORY b
    On a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    On a.FOODID = c.FOODID
    where a.FOODCATEGORYID =: P17_SET_CATEGORY

    EDIT:
    PLEASE, I BEG YOU! Even if you don't know an answer, or if you are unsure of your answer, publish! Same suggestions will be welcome! I really need all the help I could get, even if it's not much.

    Published by: 917169 on February 29, 2012 12:25

    Hello

    I had the problem, that you have found.

    >
    Error cannot change the interactive report query.
    ORA-12899: value too large for column 'APEX_040100 '. "" "" WWV_FLOW_WORKSHEET_COLUMNS '. "" DB_COLUMN_NAME' (real: 32, maximum: 30)
    >
    you found this problem because the size of this apex_item.radiogroup(1,a.FOODID) is longer than 30 characters, but we have certain restrictions for the column names, we cannot use more than 30 characters for column names, then for what his use of name of column, please see below changed the code.

    select  apex_item.radiogroup(1,a.FOODID) as "FOODID", a.NAME, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME Unit
    from FOOD a inner join FOODCATEGORY b
    on a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    on a.FOODID = c.FOODID
    where a.FOODCATEGORYID = :P17_SET_CATEGORY
    

    Hope you help

    Thank you
    Jitendra

  • Created HTML Radio Group broken legs (version 4.1)

    I created 2 pages with a tab set to switch backwards between them.
    Page1: HTML with this as a source Region
    < input type = "radio" id = "radioTest" name = "my_name" value = "Test" checked / >
    Page2: white

    Please see my example here: http://apex.oracle.com/pls/apex/f?p=50607:1

    When I click page 2 I get an error indicating that the page you requested was not found.

    If I remove the "name" attribute in the option box, then it works fine. However, I would use the name attribute so that I can combine 2 radio buttons.

    How can I use HTML radio buttons without breaking the game tab?

    shoe wrote:
    How can I use HTML radio buttons without breaking the game tab?

    Usually form in the APEX controls must be created as elements of the pageor generated programmatically using API of API callsapex_item calls like apex_item.radiogroup in the report or the dynamic PL/SQL areas.

    Creating arbitrary name attrbuts in HTML regions like controls

    
    

    is not supported as they are not complying with the expected by APEX parameter signature.

  • Need help to create a button on a page of interactive report.

    Hello everyone,

    I am trying to create radio buttons on a page of interactive report. Here are sql, used for the radio and interactive report button:

    Select apex_item.radiogroup(1,a.key_atm_insp) as "select."
    b.KEY_LOCATION,
    b.NME_INST,
    b.ADR_STREET,
    b.ADR_CITY,
    b.ZIP,
    a.KEY_ATM_VIOLATION,
    a.KEY_ATM_INSP
    ATM_VIOLATION a.,
    ATM_BRANCH_INFO_TT b
    where b.KEY_LOCATION = a.KEY_LOCATION;

    Above sql create several lines, but do not create the radio button instead show the text as ' < input type = "radio" name = value "f01" = "29039" / > "on the browser. Here is an example of one of the line that displays o browser.
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    < input type = "radio" name = "f01" value = "29039" > 48552 JPMorgan Chase Bank, National Association 82 road & Route 376 Hopewell Junction 12533 693 29039
    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    Your help/comments would be very appreciated.

    REDA

    go to the report attributes, Edit Column ("Select" column) change the view regarding "* Standard report column."

  • Set the line report radio group when it is clicked on a link column.

    Can Hi anyone help?

    I have a sql report with a group on the left radio record selector, it is used on click to fill out some additional fields in the page. I also have a column of link on the right side of the report that is used to display another page in popup. What I want is to synchronize the group radio selector when the link is clicked (i.e. Select and click on the current online radio group when the link column is selected).

    Page layout

    RG1 link pencil icon line details
    RG2 link pencil icon line details
    RG3 link pencil icon line details

    additional field 1
    additional field 2

    Report of the attributes - link URL column.
    JAVASCRIPT: modalWin2 ('f? p = & APP_ID.: #SHOW #: & SESSION.: SAVE_STATUS: no);



    I guess I can call another function of javascript in the URL from the link above, and somehow, I get the number of the line of the selected link. I think that if I can get that I can use the code below, where n is the row number of the selected link.

    JavaScript: -.

    var l_check = $x_FormItems ($x('EVENT_HIST1'), 'radio');
    checked l_check [n] = true;
    var l_click is l_check [n] ravishing ();.

    Thanks, Pete

    Pete:

    One way to resolve your condition is as below

    Modify the report query to be something similar to

    select
    apex_item.radiogroup(40,empno,null,null,'id=rg_'||rownum) rad,
    ename,
    '' link_column
    from emp
    

    And the JS function fx as

    function fx(emp,rgId) {
    $x(rgId).checked=true;     // checks radio on this row
    modalWin2('f?p=&APP_ID.:' + emp + ':&SESSION.::::SAVE_STATUS:N'); // popup page call
    }
    

    CITY

Maybe you are looking for