Urgent regarding radio buttons

hi friends i created radio buttons with the if else i am checking the output is coming wight..but can we ktake case statement..? if so after case what i have to wright..?
.ParameterS:a1 type c radiobutton group radi .
ParameterS:a2 type c radiobutton group radi.
ParameterS:a3 type c radiobutton group radi.
start-of-selection.
*if a1 = 'X'.
*WRITE: ' A1 SELECTED'.
*ELSEIF A2 = 'X'.
*WRITE: '   A2 SELECTED'.
*ELSE.
*WRITE: '  A3 SELECTED'.
*ENDIF.
as follows..?
CASE radi.
when a1.
write: ' a1 selected'.
when a2.
write: ' a2 selected'.
when a3.
wruite: 'a3 selected'.
when others.
WRITE: 'A2 SELECTED'.
endcase....
but this radi is not accpetin can my question is can i write case here if so how..?plz reply asap

Hi,
You cannot do so... since Case-EndCase can be used to value of a single variable, and depending on its value, you perform some action.
Though it is meaningless to use Case-Endcase for your version of code, since it is not appropriate here, I am just writing it down the corresponding CASE-ENCASE version of your IF-ELSE-ENDIF so that you can better understand how it works.
Data: v_param(2) type c.
If a1 = 'X'.
    v_param = 'A1'.
ELSEIF A2 = 'X'.
    v_param = 'A2'.
ELSE.
    v_param = 'A3'.
ENDIF.
Case v_param.                       " so here you are checking the value of a single variable
  When 'A1'.                           " checking value using When statement
    write: ' a1 selected'.
  When 'A2'
    write: ' a2 selected'.
  When 'A3'
    write: ' a3 selected'.
EndCase.
Hope it clears your doubt and answers your question.
Regards, Tapas
<Pls reward if useful or answered>

Similar Messages

  • Hi guys, This is very urgent, Creating radio button dynamically.

    Hi guys,
    I have this requirement where i need to access a table and depending on the possible answers for that question i need to display radio buttons on the next screen.
    lets say if i have the possible answers as YNX. i have to display three radio buttons besides the text one for YES, one for NO, one for N/A. I know this is kind of tricky but one more thing. if the possible answers are YN then i shud only have 2 radiobuttons one YES, one NO.
    and there are not only one text that im printing but there are multiple texts and radio buttons for each of them besides it.
    its urgent,
    Thanks

    Hi,
    here a short example:
    DATA: BEGIN OF SPOPLIST OCCURS 15.
            INCLUDE STRUCTURE SPOPLI.
    DATA: END   OF SPOPLIST.
    DATA: ANTWORT TYPE C.
    DATA: VALUE(3).
    VALUE = 'YNX'.
    SPOPLIST-VAROPTION = 'Yes'.
    APPEND SPOPLIST.
    SPOPLIST-VAROPTION = 'No'.
    APPEND SPOPLIST.
    IF VALUE = 'YNX'.
      SPOPLIST-VAROPTION = 'N/A'.
      APPEND SPOPLIST.
    ENDIF.
    CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
      EXPORTING
        TITEL            = 'Set your Answer'
        TEXTLINE1        = 'Please select'
        TEXTLINE2        = 'You can chosse this'
        TEXTLINE3        = 'Options'
      IMPORTING
        ANSWER           = ANTWORT
      TABLES
        T_SPOPLI         = SPOPLIST
      EXCEPTIONS
        TOO_MUCH_ANSWERS = 1
        TOO_MUCH_MARKS   = 2.
    IF ANTWORT = 'A'.
      WRITE: 'Popup canceled.'.
    ELSE.
      WRITE: 'This is select:'.
      LOOP AT SPOPLIST WHERE SELFLAG = 'X'.
        WRITE: SPOPLIST-VAROPTION.
      ENDLOOP.
    ENDIF.
    in the Docu of the FM there is another example with checkboxes.
    Hope it helps.
    Regards, Dieter

  • Regarding Radio button in selection screen?

    Hi experts,
    In my selection screen I am having two radio buttons.
    By default I am selecting the first radiobutton and displaying a selection block correspoding to that below.
    If I am selecting second radio button I want to display another selection block regarding to that second radio button.
    At that time first selection block should be hidden or should be disabled.
    Please help me out with sample codings.
    Thanks,
    Sakthi.

    Hi ,
    Try like this..
    TABLES : mara.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE select.
    PARAMETERS : p1 RADIOBUTTON GROUP rado USER-COMMAND hi DEFAULT 'X',
                 p2 RADIOBUTTON GROUP rado.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 .
    SELECT-OPTIONS : s_hello FOR mara-matnr MODIF ID m1,
                     s_hi FOR mara-mtart NO-EXTENSION NO INTERVALS MODIF ID m2.
    SELECTION-SCREEN END OF BLOCK b2 .
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        CASE screen-group1.
          WHEN 'M1'.
            IF p1 = 'X'.
              screen-active = 1.
            ELSE.
              screen-active = 0.
            ENDIF.
          WHEN 'M2'.
            IF p2 = 'X'.
              screen-active = 1.
            ELSE.
              screen-active = 0.
            ENDIF.
        ENDCASE.
        MODIFY SCREEN.
      ENDLOOP.
    AT SELECTION-SCREEN ON s_hi.
      CHECK sy-ucomm NE 'HI'.
    START-OF-SELECTION.
      IF p1 = 'X'.
        WRITE 'hi'.
      ENDIF.
    cheers,
    Sai

  • Query regarding radio buttons

    Suppose i have created a 2 radio buttons say A1, A2. If i click A1 radio button One table which i have created should open, Similarly when i click A2 radio button Another table should Display...an u plz give code for that??

    Hi
    What do you mean by table to be displayed? You mean the data from that table to be displayed in the report output.
    first fetch the data of two tables into two internal tables ITAB1 and ITAB2
    now write the code as
    if v_r1 = 'X'.  (first radiobutton is selected)
    write: ITAB1 fields
    else.
    Write ITAB2 fields
    endif.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Regarding Radio button position

    Hi All,
    I have a requirement in which i have 2 radio buttons and 1 push button and i have declared these three like this
    PARAMETERS: r1  RADIOBUTTON GROUP g1,
                r2 RADIOBUTTON GROUP g1.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: PUSHBUTTON 30(30) pb01 USER-COMMAND onli
                      VISIBLE LENGTH 15.
    SELECTION-SCREEN: END   OF LINE.
    If i select the first radio button and click on the push button ztable should be updated. i have written code for this but 2nd time when user clicks on the push button with out changing the radio button position, a pop up message should be displayed like 'Nothing has been changedu2019.
    Please suggest me in this issue.
    Thanks in advance.
    Regards,
    Samatha

    text 001 :Selection screen sample
    tex t002 : List
    text 003: Alv
    text 004: None
    CONSTANTS : rbSelected TYPE c LENGTH 1 VALUE 'X'.
    DATA : p_txt type c LENGTH 100.
    SELECTION-SCREEN BEGIN OF BLOCK frame1 WITH FRAME TITLE text-001.
      SELECTION-SCREEN ULINE /10(40).
      SELECTION-SCREEN BEGIN OF LINE.
        SELECTION-SCREEN POSITION 15.
        PARAMETERS: rb1 RADIOBUTTON GROUP rb.
        SELECTION-SCREEN COMMENT 20(30) text-002.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN BEGIN OF LINE.
        SELECTION-SCREEN POSITION 15.
        PARAMETERS: rb2 RADIOBUTTON GROUP rb.
        SELECTION-SCREEN COMMENT 20(30) text-003.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN BEGIN OF LINE.
        SELECTION-SCREEN POSITION 15.
        PARAMETERS: rb3 RADIOBUTTON GROUP rb.
        SELECTION-SCREEN COMMENT 20(30) text-004.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN ULINE /10(40).
    SELECTION-SCREEN END OF BLOCK frame1.
    IF rb1 = rbSelected.
      CONCATENATE 'You selected' text-002 INTO p_txt SEPARATED BY space.
    ELSEIF rb2 = rbSelected.
      CONCATENATE 'You selected' text-003 INTO p_txt SEPARATED BY space.
    ELSEIF rb3 = rbSelected.
      CONCATENATE 'You selected' text-004 INTO p_txt SEPARATED BY space.
    ENDIF.
    WRITE / p_txt.

  • Regarding Radio Buttons

    Hello,
    My self created one Radio button group, in that i am created set of radio buttons.
    Then by default it is selecting one radio button.
    Now i dont want to be keep selecting bydefault one radio button in that group. For this what should I do.
    Thank you

    Hi,
    Radio buttons are meant for that only.........
    One radio button should be selected by default...
    If you want that functionality then you can use check box instead of radio butoons.
    Orelse take three radio buttons in a group and leave the one which is selected by default and use the other two for your programming.
    Reward if helpful.
    Regards,
    Syed

  • Regarding Radio Button

    Hi All,
    I am using ADA Logical database in my Report which is creating Selection Screen.
    In this selection screen there are two radio buttons in a same group and
    first radio button is by default selected.
    But in my report I have to make second radio button as default.
    What shall I write in
    Loop at Screen.
    Endloop.
    Rishi

    Hi Martin,
    Yes it workks. Problem solved. Thanks boss.
    One last query.
    Actually there were 3 Radio Buttons. I have removed first with following code.    
    Loop at screen.
    IF screen-name = 'XEINZEL'.
          screen-active = 0.
          MODIFY SCREEN.
        ENDIF.
    Endloop.
    As it was not required.
    But Martin the Label for this first Radio button was List assets, so I require this Label  to print only but not Radio Button on  Selection Screen and then next two Radio Buttons on subsequent lines. So Is it Possible.
    Rishi.

  • Regarding radio button and selection screen

    hi
    i have a requirement to grey out one particular select option , if any one of 4 radio button is selected. (total 5 radio buttons ) . 
    how do i proceed .
    SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE  text-001.
    SELECT-OPTIONS: p_year  for  s021-spmon obligatory,
                    p_kunag  FOR vbrk-kunag  ,
                    p_matnr  FOR vbrp-matnr  ,
                    p_augru  FOR vbrp-augru_auft  ,
                    p_vbeln  FOR vbrk-vbeln  .
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE  text-002.
    PARAMETERS: nrw RADIOBUTTON GROUP g1 default 'X'user-command check,
                mwd RADIOBUTTON GROUP g1user-command check,
                rws RADIOBUTTON GROUP g1user-command check,
                edu RADIOBUTTON GROUP g1user command check
                standard RADIOBUTTON GROUP g1 .
    SELECTION-SCREEN END OF BLOCK blk2.
    SELECTION-SCREEN END OF BLOCK blk.
    i know we need to use at-selection screen output.
    but how do i set ONLY that particular select option , to no input.

    Hi ,
    Use like This
    User Dynamic Selection
    at selection-screen output.
      select single * from t000md.
      loop at screen.
        case screen-group1.
          when 'REL'.
            if not  p_old is initial.
              screen-input = '0'.
              screen-required = '0'.
              screen-invisible = '1'.
            endif.
            modify screen.
          when 'BEL'.
            if not p_new is initial.
              screen-input = '0'.
              screen-required = '0'.
              screen-invisible = '1'.
            endif.
            modify screen.
          when 'ARB'.
            if  p_new is initial.
              screen-input = '0'.
              screen-required = '0'.
              screen-invisible = '1'.
            endif.
            modify screen.
          when 'MTA'.
            if  p_new is initial.
              screen-input = '0'.
              screen-required = '0'.
              screen-invisible = '1'.
            endif.
            modify screen.
        endcase.
      endloop.
    Reward Points if it is useful
    Thanks
    Seshu

  • Query regarding Radio Button

    Hi Guys,
                   In my selection screen I am giving 2 radio buttons.
    My requirement is I need a sy-date field beside one radio button.
    Is there any way to do this.
    Thanks in Advance,
    Prasad.

    Hi..use this code:
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETER : ra_1 RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND abc,
                ra_2 RADIOBUTTON GROUP g1.
    SELECTION-SCREEN COMMENT 7(10) display.
    *SELECTION-SCREEN COMMENT 7(10) display MODIF ID def.
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
      IF ra_1 = 'X'.
        display = sy-datum.  " you can modify the format of the date
      ELSE.
        display = sy-datum.
      ENDIF.
      MODIFY SCREEN.

  • Regarding radio buttons + api + onclick

    hi all,
    i have used api's for generating radio buttons in the report region.
    the requirement is that when the user chooses any one of the option in the radio button i have to store a set of details in the database.
    how do i associate this radio group with a submit action, (i.e) i need a radio group with submit just like the radio group available in the items category.
    hope i have made my requirements clear.

    Is this question different from the one that was answered here?
    calling a java script function
    Sergio

  • REGARDING RADIO BUTTON LOGIC

    HI GURU, PLEASE TELL ME IF I WANT TO ADD ONE MORE RADIOBUTTON.<AUTHORIZATION>, IF I CLICK   AUTHORIZATION THEN
    FINDING EMPLOYEE CODE.
    IN BELOW  PROGRAM IF I CLICK RADIOBUTTON PROJECT , FINDING PROJECT ID& DATE, IF I CLICK RADIOBUTTON PROJECT WITH STATUS, ENABLING ONLY PROJECT STATUS.URGENT PLEASE TELL ME HOW TO ADD LOGIC IN BELOW PROGRAM.
    REPORT  ycpr_program_hierarchy_report1.
    INCLUDE ycpi_program_hierarchy_report.
    TABLES : aufk , dpr_project , prp_action , PA0000.
    SELECTION-SCREEN :  BEGIN OF BLOCK b1 WITH FRAME.
    SELECTION-SCREEN BEGIN OF LINE .
    PARAMETERS : r1 RADIOBUTTON GROUP rd1 DEFAULT 'X' USER-COMMAND flag.
    SELECTION-SCREEN : COMMENT 3(70) text-001,
                     END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE .
    PARAMETERS : r2 RADIOBUTTON GROUP rd1.
    SELECTION-SCREEN : COMMENT 3(70) text-002,
                     END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS:r3 RADIOBUTTON GROUP rd1.
    SELECTION-SCREEN : COMMENT 3(70) TEXT-003,
                       END OF LINE.
    SELECTION-SCREEN : END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : s_projid FOR dpr_project-project_id MODIF ID md
    MATCHCODE OBJECT ycpsh_projectid.
    PARAMETERS : pstatown LIKE dpr_project-proc_status_own MODIF ID md1.
    PARAMETERS : p_date LIKE sy-datum OBLIGATORY DEFAULT sy-datum.
    SELECTION-SCREEN END OF BLOCK b2.
    c_flag = 1.
    DATA: g_flag TYPE c.
    AT SELECTION-SCREEN OUTPUT.
      IF r1 = 'X'.
        c_flag = 1.
        LOOP AT SCREEN.
          CASE screen-group1.
            WHEN 'MD'.
              screen-active = 1.
            WHEN 'MD1'.
              screen-active = 0.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
      ELSEIF r2 = 'X'.
        c_flag = 0.
        LOOP AT SCREEN.
          CASE screen-group1.
            WHEN 'MD'.
              screen-active = 0.
            WHEN 'MD1'.
              screen-active = 1.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
    REGARDS
    SUBHASIS

    Hi ,
    Try like this..
    TABLES : mara.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE select.
    PARAMETERS : p1 RADIOBUTTON GROUP rado USER-COMMAND hi DEFAULT 'X',
                 p2 RADIOBUTTON GROUP rado.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 .
    SELECT-OPTIONS : s_hello FOR mara-matnr MODIF ID m1,
                     s_hi FOR mara-mtart NO-EXTENSION NO INTERVALS MODIF ID m2.
    SELECTION-SCREEN END OF BLOCK b2 .
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        CASE screen-group1.
          WHEN 'M1'.
            IF p1 = 'X'.
              screen-active = 1.
            ELSE.
              screen-active = 0.
            ENDIF.
          WHEN 'M2'.
            IF p2 = 'X'.
              screen-active = 1.
            ELSE.
              screen-active = 0.
            ENDIF.
        ENDCASE.
        MODIFY SCREEN.
      ENDLOOP.
    AT SELECTION-SCREEN ON s_hi.
      CHECK sy-ucomm NE 'HI'.
    START-OF-SELECTION.
      IF p1 = 'X'.
        WRITE 'hi'.
      ENDIF.
    cheers,
    Sai

  • Regarding Radio Button Tab Traversal

    Hi All,
    Iam Using the JGoodies , I have the RadioButtons in
    my application . Here my problem is when I traverse through the Tab , focus is moving to the Deselected RadioButton label , which should not happen . Is there any way to avoid this ?
    Can any body have the idea in this scenerio ...pls help me.
    Thanks in Advance

    Well, yes of course this happens. You need to move to deselected buttons to give the user a chance to "select" the button.
    Not everybody uses a mouse and you application should not be designed to force a user to use the mouse.

  • Help needed regarding radio button

    Hi,
    I am new to oracle apex and am building some pages.I came across a problem which can be described as follows...
    I have a form in which there are check boxes(p1_item1,p1_item2.....p1_item10), what i am tryng to do is when the user clicks the first check box(p1_item) then all of the other checkboxes must be deselected( if any of them are selected before)and if the user clicks any of the remaining checkboxes then the first check box must get deselected if it was selected before.i want this to be do this dynamically before the submit button.
    i tried several things and was not successful. If any one can direct me through the steps i will be thankful.Thanks in advance.
    Sai

    user583282,
    Please update your profile to include a user-friendly name... makes it easier to communicate.
    I have a report that needed something pretty much identical to your form need.
    The code was modified from Sergio's blog. Feel free to modify it to suit your needs.
    This code can go in the header of your region...
    <script type="text/javascript">
        function ToggleAll(e)  {
                 if (e.name == "f10") {
                    if (e.checked) {
                       ClearAll();
                 else {
                    ClearF10();
        function Check(e) {
                 e.checked = true;
        function Clear(e) {
                 e.checked = false;
        function ClearAll() {  
                 var ml = document.wwv_flow;   
                 var len = ml.elements.length; 
                 for (var i = 0; i < len; i++)  {     
                      var e = ml.elements;
    if (e.name == "f01") {
    Clear(e);
    ml.f01.checked = false;
    function ClearF10() {
    var ml = document.wwv_flow;
    var len = ml.elements.length;
    for (var i = 0; i < len; i++) {     
    var e = ml.elements[i];
    if (e.name == "f01") {
    Clear(0);
    ml.f10.checked = false;
    </script>
    For the "Main" checkbox, paste this into the Label of the item:
    <input type="checkbox" name="f10" value="" onclick="ToggleAll(this)">For each of the other items, past this into the Label of the item:
    <input type="checkbox" name="f01" value="" onclick="ToggleAll(this)">NOTE the f10 versus f01.
    What will (should) happen is when you check the "Main" checkbox (f10) it should clear all of the the "Other" item checkboxes (f01) and when you check any of the "Other" checkboxes then it should clear the "Main" checkbox.
    There may be a better or more efficient way so if anyone else has some input here I won't take any offence...
    Cheers,
    Mike

  • 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 select single radio button in particular group and to calculate valu

    Hi.. Experts..
    I have 2 radiobutton groups and each radiobutton group consists 10 radio buttons..
    in each group i want to select one radiobutton and based on the radiobutton selected the value
    as to get calculated.
    what happens is that if i select a radiobutton in onegroup and select in another group , radiobutton selected in previous group get's
    deselected.
    please help in this .. it's very urgent...
    here is my code .. help if want to change the coding or is there any better way of coding then this..
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = " ">
        <htmlb:form>
          <%@include file="tst1.htm" %>
          <htmlb:tray id    = "2"
                      width = "100%" >
            <htmlb:gridLayout columnSize  = "15"
                              rowSize     = "3"
                              cellPadding = "5"
                              cellSpacing = "5"
                              width       = "100%" >
           <htmlb:radioButtonGroup id = "rbg1"
      columnCount = "3"
       selection = "<%= selection %>" >
              <%-- qno --%>
              <htmlb:gridLayoutCell columnIndex = "1"
                                    rowIndex    = "1"
                                    width       = "30" >
                1
              </htmlb:gridLayoutCell>
              <%-- Dimensions --%>
              <htmlb:gridLayoutCell columnIndex = "2"
                                    rowIndex    = "1"
                                    width       = "300" >
                Understands the company's vision and long-term goals and the role he/she and team members have to play in accomplishing them.
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - Don't know --%>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "1"
                                    width       = "80" >
                Don't Know
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "2" >
                N
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="n">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - Rarely --%>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "1" >
                Rarely
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "4"
                                    rowIndex    = "2"
                                    width       = "20" >
                1
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "4"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "2"
                                    width       = "20" >
                2
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "6"
                                    rowIndex    = "2"
                                    width       = "20" >
                3
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "6"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="hello">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - sometimes --%>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "1" >
                Some
                times
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "2"
                                    width       = "20" >
                4
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "8"
                                    rowIndex    = "2"
                                    width       = "20" >
                5
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "8"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "9"
                                    rowIndex    = "2"
                                    width       = "20" >
                6
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "9"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="hello">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - most of the time --%>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "1" >
                Most of the time
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "2"
                                    width       = "20" >
                7
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "11"
                                    rowIndex    = "2"
                                    width       = "20" >
                8
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "11"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - all the time --%>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "1" >
                All the time
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "2"
                                    width       = "20" >
                9
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "13"
                                    rowIndex    = "2"
                                    width       = "20" >
                10
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "13"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              </htmlb:radioButtonGroup>
          </htmlb:gridLayout>
    <%-- qno2 --%>
    <htmlb:gridLayout columnSize  = "15"
                              rowSize     = "3"
                              cellPadding = "5"
                              cellSpacing = "5"
                              width       = "100%" >
    <htmlb:radioButtonGroup id = "rbg2"
      columnCount = "3"
       selection = "<%= sel %>" >
              <%-- qno --%>
              <htmlb:gridLayoutCell columnIndex = "1"
                                    rowIndex    = "1"
                                    width       = "30" >
                1
              </htmlb:gridLayoutCell>
              <%-- Dimensions --%>
              <htmlb:gridLayoutCell columnIndex = "2"
                                    rowIndex    = "1"
                                    width       = "300" >
                Understands the company's vision and long-term goals and the role he/she and team members have to play in accomplishing them.
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - Don't know --%>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "1"
                                    width       = "80" >
                Don't Know
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "2" >
                N
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="n">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - Rarely --%>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "1" >
                Rarely
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "4"
                                    rowIndex    = "2"
                                    width       = "20" >
                1
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "4"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "2"
                                    width       = "20" >
                2
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "6"
                                    rowIndex    = "2"
                                    width       = "20" >
                3
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "6"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="hello">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - sometimes --%>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "1" >
                Some
                times
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "2"
                                    width       = "20" >
                4
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "8"
                                    rowIndex    = "2"
                                    width       = "20" >
                5
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "8"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "9"
                                    rowIndex    = "2"
                                    width       = "20" >
                6
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "9"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="hello">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - most of the time --%>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "1" >
                Most of the time
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "2"
                                    width       = "20" >
                7
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "11"
                                    rowIndex    = "2"
                                    width       = "20" >
                8
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "11"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - all the time --%>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "1" >
                All the time
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "2"
                                    width       = "20" >
                9
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "13"
                                    rowIndex    = "2"
                                    width       = "20" >
                10
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "13"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              </htmlb:radioButtonGroup>
            </htmlb:gridLayout>
          </htmlb:tray>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>

    Dont duplicate the thread, follow ur original thread Re: Regarding radio buttons
    Raja T

Maybe you are looking for

  • Login error for User in OBIEE 11g

    Hi All I have created an User(TEST_USER) in oracle 11g but for some i have to delete the user and recreate in the same name(TEST_USER) but when i am trying to login in analytics after recreating the user am getting the followwing error. "An error occ

  • Site setting functinality(Icon in the ribbon) trying to another copy on masterpage but not working isssue

    I want to add site setting (wheel) functionality on on master page and hide ribbon,so i added following code/HTML on my master page. This code is working when page is published /check in,but its not working(i mean popup/dropdown is not coming when cl

  • Reference to Uninitialized collection error

    Hi , I am invoking one wrapper API from Database Adapter in Oracle soa suite 11g . The structure of the wrapper is 1. employee -->(1..n)employee sites --->(1..n)employee contacts I am just trying to invoking API for creation of employee record withou

  • Synchronizing Slave Repository

    I have Server A with Repository Vendor running SP3 version. I have Server B running SP3 version. I created a Slave for the Vendor Repository on Server B . When I mount the repository on Server B and run Synchronization I get the error "Winsock error

  • Ps touch accessing images

    reloaded ps touch on samsung tab 10.1 but still unable to access local images