RadioGroup question.

When using radiogroup Apex makes the text for the buttons on the radio with < label > text < / label > element. My question is - is it possible to access the value of 'text' of javascript? I need to be able to access the query radiogroup display_value in javascript. For example I want to submit only if category 'Other' is selected in the radiogroup - checking the return value does not work in my case.

George.

Hello

I have day my demo.
Now, I have on the page HTML header


In Firefox, it seems to work

BR, Jari

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

  • Question about radiogroup

    When Apex not radiogroup it uses the tag < fieldset > surround a group of option buttons. Have the border and title natural way of HTML you need < legend > < < title here > > < / legend > immediately after the < fieldset > - the question is where can I enter the legend at Apex label?

    George

    Nope - I was suggesting it to the wish list!

    Andy

  • Question of RadioGroup

    Hello I have a problem using radiogroups in APEX

    Our facility: APEX 4.0 using EPG

    I use an interactive report that often presents documents to my client.
    Each record before they need the option 'Yes' or 'No' that will only report record accordingtly.

    I use radio buttons because it can be 'yes' or 'no' option is selected.

    In my application I tried to use APEX_ITEM. RADIOGROUP(rowNum,...) to generate separate ID for my records.
    It works but after 99 radio buttons, it resets.
    F99 example then resets to F00, F02, F03 and so on.
    It should be F100 F102 and so forth, but that's the limit of the APEX. RADIOGROUP I think.

    So I decided to create radio buttons by using HTML and rownum.
    It works perfectly fine.

    As follows:
    Select
    * '< fieldset class = "radio_group" >' | *
    "*' < input type ="radio"name =" "|" rownum. "" value ="' |" d_id"onclick ="spCheckChange (this); ' > Yes. *
    "*' < input type ="radio"name =" "|" rownum. "" value ="' |" d_id"onclick ="spCheckChange (this); ' > no ' | *
    *' < / fieldset > ' radiobox, mat_view.* *.

    of table_id

    I use an application process on which ensures the follow-up of what radiogroup buttons are checked. It works very well.

    However, I have a button "submit" on the page that performs an insert into a table with the selected items.
    I get an error "the HTTP client asked that this server could not understand." in Firefox

    There seems to be a bug.
    I tried this and it does not work either by hitting submit:

    SELECT
    *' < input type = "radio" name = '1' value = 'Hello' > Yes *.

    RadioBox
    of the double

    I tried on APEX 4.1 and it does the same thing.

    Try it yourself.
    Create an interactive report. With the query above.
    Create a "submit" button. You don't need to enter a process to insert anything.
    When you run the page, select the radio button group. Then click on 'submit '.
    You will get the error.

    If you run the page without hitting the radiogroup and submit, you do not get the error.
    It seems that the APEX does not like ' < input type = "radio" name = '1' value = 'Hello' > 'Yes in the query.

    Any ideas?

    Published by: INAMIK on January 21, 2013 09:43

    Published by: INAMIK on January 21, 2013 10:15

    Hello

    Tag input name attribute is the name of the parameter to the procedure when you send the page.
    There is no name parameter as 1. It's not bug

    And I remember well, that you have only 50 paintings, which means f01 - f50.
    This is the limit of columns in a table.

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • RadioGroup, radio buttons in the criteria of cursor

    With the help of FORMS 10.1.2.0.2

    I have radiogroup with about 15 radio buttons. The value of the value of radio buttons can be alphanumeric - 100, 200, A200, B200, etc..

    I have a cursor on a button pulled the trigger. The cursor will query the table of data I need based on a few criteria (in the where clause). I need one of the criteria to the value of the option buttons.

    I tried
    where xyz = ':control.abc_radiogroup'
    or 
    where xyz =:control.abc_radiogroup
    or 
    where xyz =':control.abc_radiogroup.value'
    and all return 0 records.

    EDIT:

    but, static
    where xyz = 'A200'
    works perfectly.

    So, my question is how to get the value of the radio button to my cursor criteria?

    Thank you.

    Published by: apex_disco on November 16, 2011 09:59

    If it works:

    where xyz = "A200"

    so I can only imagine that your radio button does not have the same value. Maybe a space end or something?
    It works when you select A200?

    for r in (
      select 'A200' value
      from dual
      where :control.abc_radiogroup = 'A200'
      ) loop
      message('Result: '||r.value);
    end loop;  
    

    If so, it must be something else in your select statement which causes no records to retrieve. What the statement is complete?

    You have a trigger when Radio change which also changes some values used in the cursor?

    Published by: InoL on November 16, 2011 15:51

  • Is there a bug with radiogroup when page elements are more than 100?

    Hello

    I have more than 100 items on one page and in the end there are 6 radiogroups 'yes' or a 'no', the user can select. 'Yes' or 'no' in each radiogroup are mutually exclusive, but the 6 radiogroups are independent of each other. For example:

    RadioGroup #1: Yes no

    RadioGroup #2: Yes No

    RadioGroup #3: Yes no

    RadioGroup #4: Yes no

    RadioGroup #5: Yes no

    RadioGroup #6: Yes no

    It works very well. However, recently, I added more elements to the page. And I realize that the user can select only one answer among all 6 radiogroups, which means that not only the 'yes' and 'no' in each radiogroup to exclude each other, but also the 6 radiogroups are exclusive mutual.

    I have them defined simply as "radiogroup" as follows:

    2812 Radiogroup #1 P20_radiogroup

    2813 Radiogroup #2 P20_radiogroup

    2814 Radiogroup #3 P20_radiogroup

    2815 P20_CHARTAUDITING display text (escape special characters, does not save the State) == > just as a display

    2816 P20_radiogroup Radiogroup #4

    2817 Radiogroup #5 P20_radiogroup

    2818 Radiogroup #6 P20_radiogroup

    I'm on ApEx 3.2 with EPG on Oracle 11 g. Any ideas/suggestions would be greatly appreciated!

    Thank you very much
    Helen

    You can not have more than 100 electronic items on a single page.

    See Re: Question about the message "number of elements exceeds 100 maximum."
    or search the limit of 100 points.

    Gus...

  • define the radiogroup choice automatically

    Hi all

    I have to radiogroups. Group 1 can be chosen. Group 2 depends on the Group 1.
    For example; When choosing option 1 in the group, group 2 is automatically also set to group 1.

    I have questions:
    1. How can I pay for Group 2 to unmodifiable.
    2. How can I automatically refresh Group 2 when Group 1 is changed.

    Thank you

    PIM

    Hello Pim,

    1 - go to your edit page of radio group > Read Only > choose "always." This will make read-only (not editable)

    2 - in this case you definitely need AJAX, look at my example: http://apex.oracle.com/pls/otn/f?p=54772:1:1
    He completed a second LOV based on the first LOV (dynamic query as in your case), but you will need to complete a radio group based on another group of radio that is the same principle, but need a few code changes (lov to the radio group)

    Thank you

    Sam
    Please reward the right answers by marking correct or helpful!

  • 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

  • iOS 10 people record problem/question

    Hello

    I have a couple of "faces" in the issue of people who are coming in white, but acknowledged same 'face' of many times.  Is anyway to update it for photo comes actually?  At a few faces, I don't know that facial recognition found since it is coming from white.

    Hi JohnP007,

    Congratulations on your iPhone 7 more running iOS 10! I understand that some of your faces in the album of people pull up as a draft and you want to refresh. You can try to use the steps below to fix the faces on the thumbnails in albums.

    Difficulty faces and names mixed-up

    If you notice that there is a photo of someone in a collection that is poorly identified, you can remove it.

    1. Tap the person you want to remove in the album of people > select.
    2. Type Show done face to emphasize his face in every photo.
    3. Press on each photo that is not the person.
    4. Type > not this person.

    Hide people

    You can hide the people or groups that you don't want in your album of people.

    1. Open the album people and press Select.
    2. Touch the people you don't want to see.
    3. Click Hide.

    If you want to see the people that you have hidden, press on show hidden people.

    People in the Photos on your iPhone, iPad or iPod touch

    This should be corrected without delay faces. Please use the Apple Support communities to post your question. Good day.

  • Questions - and answers forgotten

    How to get my 'secret' answers to the questions that I have noted the way back when?

    If you forgot the answers to your questions of security of Apple ID - Apple Support

  • I can't reset the security questions. We received notice as below:

    Hello world

    I can't reset the security questions. We received notice as below:

    "Cannot reset Security Questions."

    We have insufficient information to reset your security questions. "

    Please help me as soon as possible! Thank you very much.

    Hello

    You will need to contact the Apple Support.

    The information is available here:

    Contact Apple for assistance with the security of the Apple ID - Apple Support accounts

    (I'm afraid that no one here can solve the problem for you - this is a user-based community).

  • Question of cloning for SSD upgrade on 12 Macbook Pro

    Previously, I did an upgrade to SSD on my Macbook Air to 2012 according to the instructions of JetDrive transcend. Basically connection via USB 3 and using Mac OS X to clear (and format) disc utilities new SSD, then restore again SSD and then remove the original 128 GB SSD and insert the new 480 GB SSD.  For about a month and so far without problem.

    Now I'm trying to 2012 Macbook upgrade my Pro partner (on 10.11.6).  I got a Crucial SSD MX300 to replace his HARD drive.  Crucial comes with (or recommend) Acronis software.  And a lot of the messages of the forum recommend Carbon Copy Clone.

    My question is if I can use the same method for the cloning of the HD as my Macbook Air (just restore disk of Mac OS X utilities)?  This time, I'm upgrading HARD drive and I don't know if something is different.  At the same time, if I got lucky the first time, I don't not ruin Macbook Pro my spouse this time.

    Thank you.

    Yes, you can use disk utility to clone your MBP wives, but unlike CCC, it will not clone the recovery and Partition.

  • Question about resolution movie downloads

    If I buy a movie at a certain resolution (780p for example), but I want more later re - download at a higher or lower resolution (SD or 1080 p), can I do so and how?

    Same question perhaps for music. Some of my songs have been bought before the latest Apple codecs.

    Any help is appreciated!

    THX!

    Once you have made a purchase on the iTunes store, you will see your purchased items in the menu under accounts bar > bought. You can simply select the item purchased and re-upload.

    With regard to the resolution of the film for films that are offered, and you select the resolution, you can download it again and select a different resolution. For movies that are available as separate download to SD, 780, or 1080 points, you would be limited to the original resolution you selected.

  • Why I can't ask questions.

    I just have a question.  I said that I can't ask questions.

    Do exactly what you did to make this post, but your question in there instead.

  • Cannot reset the Security Questions

    Hello my dear

    -J' forgot my account security questions, but I remember password

    And I'm changing my Security Questions, but show me this sentence

    "Cannot reset Security Questions."

    We have insufficient information to reset your security questions. "

    -I want to solve this problem as soon as possible if permitted

    You should contact the account of Apple security team. To join, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (145081)

Maybe you are looking for