How to display Radio buttons?

Hi all,
I have a textfield say P18_No_OF_RADIOS.In this if the user enters 4 then immediately below the textfield four radio buttons needs to be displayed with editale textfields for radio buttons so that user could give values for each radio buttons.If 5 then 5 radio buttons...i.e with respect to the number radio buttons needs to be displayed!Is it possible?
~thanks

Hi sweetcha,
Check out following link
http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_item.htm
In this link check out function APEX_ITEM.TEXT and APEX_ITEM.RADIOGROUP
Of course the task which you have mentioned is very much feasible using this utility. Let me know if you find some issue in it.
Sunil Bhatia

Similar Messages

  • How to display Radio buttons with default selection on

    Hi
    I want to display Radio buttons using jsf
    i have done it using
    <h:dataTable id="apartmentList" value="#{userBean.allApartmentList}"
                   var="apartments">
                   <h:column>
                        <h:selectOneRadio id="selectedApartment" onclick="javascript:setSelectedApartment(this);">
                             <f:selectItem itemValue="#{apartments.apartmentVO.apartmentId}" />
                        </h:selectOneRadio>
                   </h:column>
    inside a data table
    now when i click some page i want to display the radio's with default radio button selected
    also when i select one radio button and click on some command button
    eg:<h:commandButton action="#{userBean.setSelectedApartment}"
    the Radio button's Selection should not disappear
    i have written a javaScript
    function setSelectedApartment(oRadio)
              oForm = oRadio.form;
              elems=oForm.elements;          
              for(iIndex=0;iIndex<elems.length;iIndex++)
                   if(elems[iIndex].type == 'radio')
                        if(elems[iIndex].name != oRadio.name)
                             elems[iIndex].checked=false;
              document.getElementById("apartmentListForm:selectedApartmentId").value=oRadio.value;
    To check which Raio button is Selected
    How do i show the Default Selected button and How the selection should not disappear
    Can any one suggest me links or the solution to this problem
    Thank you
    Geetanjalee

    -set the value binding expression of select items to a request scope bean
    - on the page load event() ,do
    setdefaultval("ur default value")
    so each time on the page load it sets the default value. and you can get selected value by getdefaultval()
    --raju                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to define RADIO BUTTONS in MODULE POOL PROG.?

    Hi Experts,
    I need to keep the RADIO BUTTONS in 1000_screen of my_module_pool prog., like,
    I hv 2 fields in this screen, as expected, the first shuld hv DEFAULT selection.
    So, I just simply, dragged & dropped 2 radio buttons from left menu of the screen builder & given them the  names as
    R_SUMMARY
    R_DETAIL
    Then i executed the transaction, but, these above 2 fields are getting selected, as default??
    I know that, if its a REPORT prog. we can define as w/ a GROUP, then the 1st one is hv the default selection.
    so,
    1  - How to define RADIO BUTTONS in this screen of a module pool prog.
    2 - How to use these names in the prog.(PAI - i guess)?
    thanq
    Edited by: Srinivas on Jul 12, 2008 11:59 PM

    Hi Srinivas,
    Please check this link
    Re: urgent:Regd radio buttons in module pool
    http://saplab.blogspot.com/2007/10/sample-abap-program-for-module-pool_18.html
    http://****************/Tutorials/ABAP/Checkbox/page1.htm
    http://****************/Tutorials/ABAP/Checkbox/page2.htm
    Best regards,
    raam

  • How to create radio button in reports

    Hi Friends,
    Can any body please tell how to create radio button in reports.
    Thanks,
    Nagendra

    Hi Nagendra,
        But why do u need a single radio button, any specific reason...
      try this
    REPORT  ZCHA1.
    PARAMETERS : P_RAD1 RADIOBUTTON GROUP RAD,
                 P_RAD2 RADIOBUTTON GROUP RAD.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-NAME = 'P_RAD2'.
          SCREEN-INVISIBLE = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.

  • How to create radio button between two slection screen

    hello all.
    could you please guide me how to create radio button between two SELECTION-SCREEN  in screen painter.
    Thank you,
    srinivas

    hi
    SEE THIS CODE
    REPORT  ZNNR_REPORT NO STANDARD PAGE HEADING MESSAGE-ID ZNNR LINE-SIZE 100 LINE-COUNT 65(4).
    ******DATA DECLARATIONS**********
    DATA : BEGIN OF IT_PLANT OCCURS 0,
            MATNR LIKE MARA-MATNR,
            WERKS LIKE MARC-WERKS,
            PSTAT LIKE MARC-PSTAT,
            EKGRP LIKE MARC-EKGRP,
           END OF IT_PLANT.
    DATA : BEGIN OF IT_PONO OCCURS 0,
            EBELN LIKE EKKO-EBELN,
            EBELP LIKE EKPO-EBELP,
            MATNR LIKE EKPO-MATNR,
            WERKS LIKE EKPO-WERKS,
            LGORT LIKE EKPO-LGORT,
           END OF IT_PONO.
    TABLES EKKO.
    ********END OF DATA DECLARATIONS*********
    ********SELECTION SCREEN DESIGN ***********
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
    SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R3 RADIOBUTTON GROUP G2 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R3.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R4 RADIOBUTTON GROUP G2.
    SELECTION-SCREEN COMMENT 5(20) TEXT-004 FOR FIELD R4.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    ******END OF SELECTION SCREEN DESIGN****************
    <b>rEWARD IF USEFULL</b>

  • How to not display radio buttons in the select many shuttle component

    Hi all,
    af:selectManyShuttle is a true nice component.
    For business / UI ergo reasons I've decided to not display the radio buttons before each item. There's no option to do that.
    Is it possible ? How ?
    Regards
    Luc-

    Let say there are three ways:
    1. You can use skinning mechanism,
    2. You can include css file in .jspx page and then use it.
    3. You can write css directly in .jspx page.
    For skinning read documentation. For two other ways here is example code that should be inside metaContainer facet of document tag.
    <f:verbatim>
      <!-- CSS directly in jspx page -->
      <style type="text/css">
        .myClass{
          background-color: #8888FF;
      </style>
      <!-- Include css file in jspx page -->
      <link href="css/incStyle.css" rel="stylesheet" type="text/css" />
    </f:verbatim>
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • CRM Survey - How to remove Radio button defaults.

    Hi experts,
    I am trying to remove Radio button default. By default it is selected when I am trying to set attribute for answer options. Even if I unchecked, it reverts and set as selected again. Actually, I need remove Radio button default for the customer sees a response pre filled.
    Please advise on how can I remove Radio button default for answer options.
    Banu

    Hi,
    I see it now.
    You need to change the config of your radio buttons in the transaction itself.
    Goto CRM_SURVEY_SUITE, locate your survey, click on the change button ( a pencil) this will take you to the survey configuration.
    There navigation to the section in the left hand pane that corresponds to the radio buttons. And you will see Yes and No for answers to the questions. Double click on each of them to display on the right side work area and change the property 'Selected' (which is a check box) to unchecked.
    This should be easy.
    Regards
    Prasenjit

  • Displaying radio button on report output

    hi folks,
             how to display radiobuttons on the report output.
           thanks,
           santosh.

    Declare parameter as RADIOBUTTON
    like
    Single radio button
    PARAMETER p_purch RADIOBUTTON.
    Two radio button with same group.
    PARAMETER p_sales RADIOBUTTON GROUP opt.
    PARAMETER p_purch RADIOBUTTON GROUP opt.
    Regards,
    Mahesh
    Edited by: Mahesh Guragol on Jan 23, 2008 4:12 PM

  • How to check Radio buttons with Differfent button values

    Good Day,
    I am currently trying to write a script that would hide 5 of 6 radio buttons
    I have a radio button called "3. Transfer"
    with values of :
         Yes;
         Supp;
         Reg; and
         do_not_transfer
    as well I have a drop down called "REL.ITEM"
    with values of
              3(A);
              3(B);
              4(A);
              4(B); and
              4(C)
    I know how to get the value of the box and manipulate other fields
    like
    //START
    var transfer = getField("3. Transfer").value
    var relitem = getField("REL.ITEM").value
    if (transfer = "Yes" || transfer = "Supp") && (relitem == "4(C)" || relitem == "4(B)"))
         getField("a. recommend").checkThisBox(0,true);
         getField("a. recommend").display = display.visible
        getField("a. I do not recommend").checkThisBox(0,false);
        getField("a. I do not recommend").display = display.hidden
    else if (transfer = "do_not_transfer")
         getField("a. recommend").checkThisBox(0,false);
         getField("a. recommend").display = display.hidden
         getField("a. I do not recommend").checkThisBox(0,ftrue);
         getField("a. I do not recommend").display = display.visible
    //END
    I would like to make it so that if REL.ITEM != 4(A); 4(B); 4(C) that the radio box's with values of "Yes", "Supp" and "Reg" are hidden while "do_not_transfer" is still displayed and checked.
    I've been going through forums, google and acrobat documentation and I can't seem to find what I'm looking for.
    Thanks for your help in advance.

    if (transfer = "Yes" || transfer = "Supp") && (relitem == "4(C)" || relitem == "4(B)"))
    This should be:
    if ((transfer == "Yes" || transfer == "Supp") && (relitem == "4(C)" || relitem == "4(B)"))
    Similarly,
    else if (transfer = "do_not_transfer")
    should be:
    else if (transfer == "do_not_transfer")
    In order to work with an individual widgets of a form field, obtain an object that represents the widget using the getField method as specifically demonstrated in example #2 in the documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.476.html

  • How to use Radio Buttons in SAP BI 7 for a set of three fields?

    Dear SAP Gurus,
    We are using SAP BI 7. We need to use Radio button to select one field name (out of a set of three fields) which
    appeared on selection screen.
    The scenario is; we have three fields
    1) Field Name A
    2) Field Name B
    3) Field Name C
    Now, we need to select one field(using Radio button) from the above and later the report related to the above
    selected field should be displayed.
    The three reports will be as follows:
    1) Report A
    2) Report B
    3) Report C
    if Field Name A  is selected then Report A  will be displayed,
    if Field Name B  is selected then Report B  will be displayed and
    if Field Name C  is selected then Report C  will be displayed.
    To display the report we have two cases;
    1) There will be a common selection screen and all the three reports will come in single workbook but in seperate worksheet.
    2) There will be a common selection screen and all the three reports will come in same worksheet, one after the other.
    Is it possible to create the report in this manner, if yes, please suggest the steps.
    Regards,
    DV.

    I think you would just use commands to do the following:
    1. Hide report Analysis Item 2 and Analysis Item 3 if the 1st button was pushed.
    2. Hide report Analysis Item 1 and Analysis Item 3 if the 2nd button was pushed.
    3. Hide report Analysis Item 1 and Analysis Item 2 if the 3rd button was pushed.
    Hope that helps...

  • How to display action buttons on iPad app?

    Hi all,
    I'm trying to display "action buttons" in my custom BO's TI in advanced list panes. For each of these table I created LayoutStackPanel where inside I have icon with defined event handler. In web UI version everything works fine. "Action button" appears and event handler is triggered on click.
    When I open same TI on iPad, first of all Table is displayed as grid, not table, but I assume that is how iPad player generates that. But my created icon is not visible in specific row (I haven't allowed hover option as I thought iPad can't handle hover event), and even switching TI into edit mode it's not appearing and event handler isn't triggered.
    I wonder if there is around some detailed guide, best practice doc which covers how we can design our screens for iPads.
    Thanks,
    Uldis

    Hello Uldis,
    Please try to follow these steps to create it from scratch. It guides you on how to create a Delete button, so you can use is as a reference for futher action buttons:
    1. Drag and Drop ‘LayoutStackPanel’ from ToolBox to List Column.
    2. Right Click on the column and Select Model ‘LayoutStackPanel’. Add an icon over there.
    3. Set the property ‘Visible on Hover’ of Layout Control to True.
    4. Create an action on your BO node called Delete<NodeName>. Generate the script file and add this snippet:
    this.Delete();
    5. Set the property ‘On Click’ in UI Designer.
    Create EventHandler calling the BO action. The EventHandler and "Misc" name must contain "Remove" or "Delete" as prefix to identify as a deletion column. As sample you can check the "Account Team" facet of account Thing Inspector:
    /BYD_COD/SalesOnDemand/Account/UI/COD_Account_TI.TI.uicomponent
    Click on the "Items" collection as following figure shows:
    Then set the Icon ‘OnClick' event to your delete event previously defined.
    Let me know if that worked for you.
    Best Regards,
    Fernando Giroleti
    Cloud Service Center AMEA

  • How to have radio button in search help ?

    Hi,
    I have a requirement in which on pressing F4 the user will input value of a document number on displayed search help screen. I need to provide two radio buttons there based on selection of which i will determine the values in my search help exit.
    To clarify more, i am in CRM system and user runs a transaction crmd_order but he doesn't know the contract document number to open. He knows a sales document reference number so he presses for F4 help where he can input the sales document reference number to get available contracts. Now when he/she enters the dsles document number they need to choose which kind of contract should be displayed ( Two kind of contracts : proposal and schedule ). Based on user input i will search in help exit and display the output.
    Any help would be appreciated.
    Regards
    Apoora

    Hi Apoorva,
    i think you can write below code just to show the Pop-up for details.
    this you can write on POV or at selection screen-output.. when ever the user changes the Radio button the logic will be triggered and pop-up is triggered..
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          i_title               = 'Batch Number Selection'           "Pou-up Heading..
          i_selection           = 'X'
          i_screen_start_column = 5
          i_screen_start_line   = 5
          i_screen_end_column   = 50
          i_screen_end_line     = 20
          i_tabname             = 'T_BATCH'                  "Internal Tbale
          it_fieldcat           = gt_fieldcat_drd[]
        IMPORTING
          es_selfield           = gc_selfield
        TABLES
          t_outtab              = t_batch                       "Internal Tables with Valuess
        EXCEPTIONS
          program_error         = 1
          OTHERS                = 2.
      IF sy-subrc <> 0.
      ENDIF.
    regards,
    Prabhudas

  • How to handle radio-buttons in FB05  bdc????

    How to change Additional selections radio-button from none to Document numbers in CALL TRANSACTION BACKGROUND MODE..............................................
    Edited by: Raghavender Poosarla on Apr 8, 2008 10:32 AM

    I have BDC requirement of FB05 transaction... I am stuck at one point where this recordin is working in Foreground mode and not in Backgroung mode...The reason being there is a bit in which I am selecting a readio-button from value 'NONE' to 'Document numbers' WHICH IS HAPPENING IN FOREGROUND AND NOT IN BACKGROUND ....Can any one tell is there any special way for handling radio-buttons in recording of an transaction???

  • How to display addtocart button using Liquid

    I'm trying to output a custom layout of a product using Liquid, but can't figure out how to display the add to cart button as it's not included in the JSON. Liquid markup is all new to me so forgive me if I'm missing something obvious. Here is what I have for the layout but need an addtocart button.
    {module_product template="" collection="Classes" render="collection" catalogId="277528" productId="9231800"}
      <h1>{{Classes.title}}</h1>
       {{Classes.description}}
       <h3>Cost</h3>
       <p>{{Classes.saleprice}} + {{Classes.taxCode}} {{Classes.custom1}}</p>

    Ahh, Your rendering a product on just a page as a collection. May I ask why your trying to do that? Why are you not using the product eCommerce layouts.
    Doing what your doing you will only ever display information. You will never be able to do grouping, attributes or anything like that because they are more then just data output, they have functionality, BC script features and more to run off.
    Unless you 100% know how and you had all the info available (which you dont yet) to completely replicate every BC script feature etc - You will not be able to do what your doing.
    Liquid runs in layouts, just use product layouts and do things in there. I not seen on that page any reason why you would not be.

  • How to use radio buttons in sap smartforms

    hi,
    i saw the radiobutton option in web properties is there any way to display thee radio button in smartforms...
    Kindly share ur suggesstions
    Thanks in Advance

    Hi rsa.Hema,
    go to text element (editor) then
    change editor
    then insert
    then characters
    then SAP symbols
    then choose the symbol for radio button
    or use  698 in the change editor screen
    Regards.
    Saurabh Goel

Maybe you are looking for

  • Read-only console ?

    In wls8.1 or in wls6.1/wls7.0 ..........is there any way out to make the console to be "READ-ONLY" ....any field or parameter that i need to set ? any workaround may be ??? -sabgita

  • ALV Layout set fields stored in Which table?

    HI All, I Developed ALV Report,and created Layout for that . I want to know where the all fields for particular layout set are stored?

  • Iphone auto synch issue?

    When I connect my Iphone 4s to my Mac via wire Itunes does not open but another application (Photo Mechanic) does. How do I control this behavior? Thanks for your thoughts and help.

  • Duplicate rows displayed in list

    I am using ADF, Struts and JSP. On occasion, some of the pages that simply display a list of attibutes in a VO display duplicate rows - these views reference just one EO and in the majority of cases all of the default settings are used. There seems t

  • DB link performance.

    HI Experts One of our developers is facing performance issue on one query using dblinks. When we run the query in remote db it is taking 4-5 mins. When we execute the query from his local db using db links it is never ending. Looking at this initiall