Sets of Radio buttons all grouped together

I am creating a form with many sets of radio buttons. Each set contains 3 buttons. When I add the 4th button, Designer groups it with the first three. When I add a 5th button, it is automatically grouped with the first 4. I need to separate the buttons into groups of 3. How do I manually choose which radio buttons to group together?
Eric

Doing this is little tricky... Add all your radio buttons and then choose all the ones you want to group in a different set holding Ctrl key. And then click your mouse button (right). Then choose 'Wrap in New Radio Button Group'.
Good luck,
SekharN.

Similar Messages

  • Radio button and group

    Hi All,
    Not quite follow what dev guide says about radio button and group implementation.
    I tried but always got strange behavior.
    I have a subtab with two radio buttons (rbt1 and rbt2)
    rbt1 property defined as:
    Initial Value: Y
    Checked Value: Y
    Unchecked Value: N
    rbt2 property defined as:
    Initial Value: Y
    Checked Value: N
    Unchecked Value: Y
    Also, In my subtab PR, I init these two bts as a group:
    OAMessageRadioButtonBean colButton1 =
    (OAMessageRadioButtonBean)webBean.findChildRecursive("rbt1");
    colButton1.setName("colGroup");
    colButton1.setSelectedValue("Y");
    OAMessageRadioButtonBean colButton2 =
    (OAMessageRadioButtonBean)webBean.findChildRecursive("rbt2");
    colButton2.setName("colGroup");
    colButton2.setSelectedValue("N");
    When the subtab render first time, rbt1 is checked and rbt2 is unchecked as expected. but when I go to other subtab then come back, the rbt1 is unchecked and rbt2 is checked (switch automatically).
    The subtab PR is the only place I set this radio button value and group as showing above. Somewhere wrong with my logic or setting?
    Regards,
    KJ

    Hi All,
    Got issue resolved. When I was replying Ranjit previous post, I mentioned both of buttons bind to same VO attribute. Since the first rbt1 has defined checked and unchecked values (Y & N) and both of buttons are defined in same group, so I took off second rbt2 attribute binding then it works (won't switch automatically anymore).
    I still defined init values for both of buttons and also removed setSelectedValue() method calls from PR.
    Thanks again for the great helping.
    KJ

  • Set of Radio Buttons in a page

    Hi,
    I am new to OAF. My use case is to create a page with set of 'Yes/No' questionnaires. So, there will be set of radio buttons associated with each questions.
    Please guide me to achieve this in OAF.

    Hi,
    You can create the radio button in processRequest by using (OAMessageRadioButtonBean)webBean.createbean()
    Also, check if this link can help u : http://oracleanil.blogspot.in/2009/04/radio-group-event.html
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Disable a set of radio buttons

    Hello Experts,
    I have written a code in which there are two set of radio buttons.
    In first set there are three radio buttons.
    p_range    RADIOBUTTON GROUP rbg DEFAULT 'X',
    p_date      RADIOBUTTON GROUP rbg,
    p_comp     RADIOBUTTON GROUP rbg.
    In second set there are 10 radio buttons.
    I need to write a code in a way that if user selects the third radio button from first set p_comp, then few of the radio buttons from the second set should grey out.
    Please help me with some sample code.
    Would definately reward if the code is useful.

    Alternatively you can also use MODIF ID's for the radio buttons to do the same.
    You can get the syntax on the F1 help...
    Cheers,
    Tatvagna.
    Eg.
    p_1 RADIOBUTTON GROUP rb2 DEFAULT 'X' modif id r1,
    p_2 RADIOBUTTON GROUP rb2 modif id r1,
    p_3 RADIOBUTTON GROUP rb2 modif id r1,
    p_4 RADIOBUTTON GROUP rb2 modif id r3,
    p_5 RADIOBUTTON GROUP rb2 modif id r1,
    p_6 RADIOBUTTON GROUP rb2 modif id r1,
    p_7 RADIOBUTTON GROUP rb2 modif id r2,
    p_8 RADIOBUTTON GROUP rb2 modif id r2,
    p_9 RADIOBUTTON GROUP rb2 modif id r2,
    p_10 RADIOBUTTON GROUP rb2 modif id r1.
    And then do
    Loop at screen.
           IF screen-group1 IS NOT INITIAL AND
            NOT  screen-group1 EQ 'R1' .
              screen-active = '0'.
              MODIFY SCREEN.
           ENDIF.
    endloop.

  • 2 sets of Radio Buttons in a Form-complications

    Hello everyone,
    I have been looking around for code to assist me in building a form. I have developed the form, and just have a couple problems that I can't figure out.
    In one question on the form the user can choose from one set of radio buttons and select one of the five options. Then I have a second set of radio buttons, that the user can again only choose one option. My problem is that I only want the user to be able to select from the second set of radio buttons if they selected a certain option in the first set. An example to clear up my problem:
    Did you finish the training:
    Yes
    Half
    None
    So if the user selected yes from the first set of radio buttons, I want the second set of radio buttons to now be selectable:
    The training was:
    Up-beat and enjoyable
    Snoozer
    The conditions that I am using are very different than these but this is just a simple skit. So how do I make the second set of radio buttons unselectable until the user selects a specific radio button from the first set of radio buttons.
    Thanks, I really appreciate the help!

    If you have a radio button exclusion group called 'completion' with three items 'Yes','Half', and 'None' and a second radio button exclusion group called 'completion', go to the 'feedback' Value tab and set the type to 'readOnly'.
    Add the following script to the 'completion' change event...
    // form1.page1.subform1.completion::change - (JavaScript, client)
    if (this.rawValue == "Yes") {
      form1.page1.subform1.feedback.access = "";
    else {
      form1.page1.subform1.feedback.access = "readOnly";
      form1.page1.subform1.feedback.rawValue = "";
    If the user selects 'Yes', the 'feedback' group is available for selection. If the user does not select 'Yes', 'feedback' is reset and made readOnly.
    Steve

  • Dynamic radio button and group

    Hi, we have create dynamic radio button and group on “application creation complete” event , but which I am try to get number of radio button its show zero, see below code
    import flash.utils.setTimeout;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import spark.components.RadioButton;
    import spark.components.RadioButtonGroup;
    private var  rbg:RadioButtonGroup;
    private var  rb1:RadioButton;
    private var  rb2:RadioButton;
    private var dcount:int = 0;
    protected function application1_creationCompleteHandler(event:FlexEvent):void
         // TODO Auto-generated method stub
         // TODO Auto-generated method stub
         rb1 = new RadioButton();
         rb2 = new RadioButton();
         rbg = new RadioButtonGroup();
         rb1.label = "Radio1";
         rb2.label = "Radio2";
         rb1.group = rbg;
         rb2.group = rbg;
         vbox1.addChild(rb1);
         vbox1.addChild(rb2);
         checkRadioButton (); 
    protected function checkRadioButton ():void
         Alert.show("In checkRadioButton function : " +  rb1.group.numRadioButtons.toString());
    If I put some Time interval to call  checkRadioButton function its working fine,
    //checkRadioButton (); 
    setTimeout(checkRadioButton,1000);
    but this is not best practice.
    why this happen ….can anybody  clear  this or any other way to do this.
    Thanks in advance

    @manjeet.patel,
    Just write the below line of code
    vbox1.validateNow();
    You need not use setTimeout() function
    vbox1.addChild(rb1);
    vbox1.addChild(rb2);
    vbox1.validateNow();
    Thanks,
    Bhasker

  • Using a dropdown to set a radio button

    I've been searching and searching in vain, trying many different things can I cannot seem to find an answer already or stumble on similar code to help.
    I've got a dropdown, then when you select different values set different fields on the form. That part works fine stuff like this in the custom validate:
    if (event.value == "Thing1") {
      this.getField("DESC01").value = "Words that fill in a desciption box.";
      this.getField("DESC02").value = "More words that fill in another descrption box";
      this.getField("F_SKILL1").value = "1";
      this.getField("RB_SKILL1").isBoxChecked(1);
      this.getField("F_SKILL2").value = "1";
      this.getField("F_SKILL3").value = "1";
    } else if (event.value == "Thing2") {
      this.getField("DESC01").value = "Different words that fill in a desciption box.";
      this.getField("DESC02").value = "More different words that fill in another descrption box";
      this.getField("F_SKILL4").value = "1";
      this.getField("RB_SKILL1").isBoxChecked(0);
      this.getField("F_SKILL5").value = "1";
      this.getField("F_SKILL6").value = "1";
    etc, etc. I've got a few different else ifs but they all follow this kind of format. There is are also radio button next to the skills on the sheet to visually display that skill is known. So I'd like to turn that radio button on. My isBoxChecked isn't working, and I expect that's because it doesn't work that way. I have a lot of radio buttons on the form, but they all have 1 choice in them none are groups. Again, I'm using this as a visual display that SKILLX is known. The area I've dropped the radio button onto the sheet is a very small circle which is why I am trying to use a radio button as it's visually similar.
    If there is a better solution to what I'm trying to do I'm happy to try that, or if someone can tell me what I'm doing wrong that'd be super
    Thanks!

    Not quite sure I'm getting what you are laying down...
    So in the dropbox, under options I should set the export value of Thing1 choice to RB_SKILL1 and then in my validate I should include this.getField("RB_SKILL1").value = 'Yes' ?
    Or I should just set the export value of Thing1 to this.getField?
    Thanks
    Oh, using a check box I was able to get this working using the export values set for Thing1 option, most excellent! Thank you very much!

  • Radio Buttons & Repeat Groups

    Seems like it should be easy, but I've not been able to
    figure it out.
    I'm pulling a list of records from a mySql DB, populate those
    within a Form/Table so that a user can select one of the records
    via a Radio Button. Upon Submit, I'd like to be able to retrieve
    that record selected on a subsequent page either by a key
    associated with the radio button, or the necessary form variables
    being set once the Radion Button is selected.
    So far, creating the record set and displaying it is no
    problem within a single row table defined as repeating. All works
    well. How do I associate a radio button with a record within the
    record set? Is there a better way?

    Button Groups are not 2 dimensional... you'll have to use the listeners to fix your problem.

  • How to set a radio button to be selected?

    I'm trying to find out how to do something that should be seemingly simple. That is to create a little function that selects a random radio button as selected. I have 3 radio buttons in a group (see code):
    </mx:ApplicationControlBar>
    <mx:RadioButtonGroup id="radiogroupZ"/>
    <mx:RadioButton x="10" y="608" label="Button 1" groupName="radiogroupZ"/>
    <mx:RadioButton x="10" y="634" label="Button 2" groupName="radiogroupZ"/>
    <mx:RadioButton x="10" y="660" label="Button 3" groupName="radiogroupZ"/>
    I've tried all kinds of code to try to set Button 1, 2 or 3 as selected but the compiler keeps giving me errors.
    Can someone give me an example of a simple function that will set one of these as highlighted? All I need is the code that basically says for example: "Select Button 1 in the group "radiogroupZ to be selected".
    Thanks

    // This will have the first button selected.
    <mx:RadioButtonGroupd id="radiogroupZ" selectedValue="somethingHere1"/>
    <mx:RadioButton x="10" y="608" label="Button 1" value="somethingHere1" groupName="radioGroupZ"/>
    <mx:RadioButton x="10" y="608" label="Button 1" value="somethingHere2" groupName="radioGroupZ"/>
    <mx:RadioButton x="10" y="608" label="Button 1" value="somethingHere3" groupName="radioGroupZ"/>
    // To select something in a function
    private function functionName():void
         radiogroupZ.selectedValue = "somethingHere1";

  • How to set / reset radio buttons in screen..

    hi,
    i have 4 radio buttons in my screen, initially only the first one must be active and all other must not be in selected state. at any point of time only one must be selected and based on the selection the subscreen area must be filled with the subscreen.
    whats the code to check if the radio button is selected or how to set the action for the radio button selection ?
    also whats the statement to reset the radio button ?
    thks

    You put them all in a radiobutton group.
    For example:
    PARAMETERS: rb_pres  RADIOBUTTON GROUP rbf,"Presentation Server Files
                            rb_app   RADIOBUTTON GROUP rbf."Application Server Files
    The first one is defaulted to "X", but you can also do that yourself.
    You check the value = "X" to see which is selected or say IS NOT INITIAL.
    Hope this helps,
    Mark

  • Multiple sets of radio buttons no longer working

    Hello All:
    My first post so I apologize in advance if I don't do it
    properly.
    I have a few web forms that have multiple groups of radio
    buttons on them that are suddenly errorring out since we moved to
    CF 7. I started tinkering with the one form that I have posted the
    code for and kept cutting it down to the simplest code that begins
    to produce the error. If I just use 1 radio button group everything
    works fine, but the minute I add the second one, the whole thing
    throws a "Syntax error (missing operator) in query expression"
    message. Each radio button group has it's own group name and a
    checked value. It is very simple code and very frustrating why it
    has suddenly stopped working so any assistance is welcome.
    Here's the form code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body background="white" marginheight="0"
    marginwidth="0">
    <cfform action="testSub.cfm" method="POST">
    <table width="95%" border="0" cellpadding="0">
    <tr>
    <td width="24%"><img src="survey.jpg"
    border="0"></td>
    <td width="76%"><p>It is our desire to assure
    that MID is meeting the needs of
    our clients. xxxxxxx
    <p> </p>
    <p>*****************************************************<br>
    </p></td>
    </tr>
    <tr>
    <td colspan="2"><p>Please answer questions 1
    through 4 with a 1 - 5 rating, with 1 being POOR and 5 being
    EXCELLENT.</p>
    <p> You are not obligated to provide this
    information.</p>
    <p><font face="Arial, Helvetica, sans-serif"
    size="2">My Name (First &amp;
    Last):</font> <font face="Arial, Helvetica,
    sans-serif" size="2">
    <cfinput type="Text" name="poc" required="no" size="50"
    maxlength="50">
    <br>
    <b>1. Was
    your service technician polite and
    courteous?</b><br>
    <cfinput type="radio" name="polite" value="1">
    1
    <cfinput type="radio" name="polite" value="2">
    2
    <cfinput type="radio" name="polite" value="3" checked>
    3
    <cfinput type="radio" name="polite" value="4">
    4
    <cfinput type="radio" name="polite" value="5">
    5     </p>
    <p><br>
    <br>
    2. Was
    your service technician polite and
    courteous?</b><br>
    <cfinput type="radio" name="know" value="1">
    1
    <cfinput type="radio" name="know" value="2">
    2
    <cfinput type="radio" name="know" value="3" checked>
    3
    <cfinput type="radio" name="know" value="4">
    4
    <cfinput type="radio" name="know" value="5">
    5     </p>
    <input type="submit" name="btnSubmit" value="Submit My
    Comments!">
    <input type="reset" name="reset" value="Reset
    Form"><br>
    <br>
    </cfform>
    <tr>
    <td> </td>
    <td> </td>
    </tr>
    </table>
    </body>
    </html>
    The ACTION code
    <html>
    <head>
    <title>test</title>
    </head>
    <body>
    <CFIF IsDefined("FORM.btnSubmit")>
    <CFQUERY NAME="Add" datasource="newMID">
    INSERT INTO survey(
    poc,
    polite,
    know
    VALUES (
    '#poc#',
    '#polite#'
    '#know#',
    </CFQUERY>
    </CFIF>
    <cfoutput>
    Thank you. Your IT survey has been forwarded to our NHCPR IT
    mailbox.
    </cfoutput>
    <cfmail to="[email protected]"
    FROM="[email protected]"
    SUBJECT="IT Survey Form">
    Polite: #polite#
    Know: #know#
    POC (opt.): #poc#
    </cfmail>
    </body>
    </html>

    OK. I took out the extra comma. Put a space in after *survey*
    and put "form" in front of the variables in order to scope them. I
    got it to work just then and decided to add the next radio button
    and once again, the error message keeps coming up.
    Here's what it looks like now.
    ACTION
    code***********************************************************
    <html>
    <head>
    <title>test</title>
    </head>
    <body>
    <CFIF IsDefined("FORM.btnSubmit")>
    <CFQUERY NAME="Add" datasource="newMID">
    INSERT INTO survey (
    poc,
    polite,
    know,
    time
    VALUES (
    '#form.poc#',
    '#form.polite#',
    '#form.know#',
    '#form.time#'
    </CFQUERY>
    </CFIF>
    <cfoutput>
    Thank you. Your IT survey has been forwarded to our NHCPR IT
    mailbox.
    </cfoutput>
    <cfmail to="[email protected]"
    FROM="[email protected]"
    SUBJECT="IT Survey Form">
    Polite: #polite#
    Know: #know#
    POC (opt.): #poc#
    Timely: #time#
    </cfmail>
    </body>
    </html>
    The ERROR msg
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in
    INSERT INTO statement.
    The error occurred in
    C:\Inetpub\wwwroot\PaxNew\chiefOscar\testSub.cfm: line 20
    18 : '#form.polite#',
    19 : '#form.know#',
    20 : '#form.time#'
    21 : )
    22 :
    SQL INSERT INTO survey ( poc, polite, know, time ) VALUES (
    'kennedi', '3', '5', '3' )
    DATASOURCE newMID
    VENDORERRORCODE -3502
    SQLSTATE 42000
    Resources:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote Address 10.249.6.81
    Referrer
    http://205.115.107.22/chiefoscar/tsurvey.cfm
    Date/Time 29-Jan-08 02:05 PM
    Stack Trace (click to expand)

  • Radio Button - All

    I have got radio button(with submit)(RB name is P5_R_RG) on my report. Radio button are Dynamic LOV (Select distinct RG a, RG b from participant). Display Null :- Yes, Null Display Value 'All', Null return Value:- 'ALL'
    Participant is my table
    RG is column in participant table and it has got value between 1 and 6 only.
    I have got query in region and qeury is
    select     "PARTICIPANT"."AGSNO" as "AGSNO",
         "PARTICIPANT"."FIRSTNAME" as "FIRSTNAME",
         "PARTICIPANT"."LASTNAME" as "LASTNAME",
         "PARTICIPANT"."RG" as "RG"
    from     "PARTICIPANT"
    where ("PARTICIPANT"."RG" = :P5_R_RG or "PARTICIPANT"."RG" = 'ALL')
    What I am trying to do is when user select 'All', all the record should be displayed.
    1) When RG field type is numeric
    Whenever I select 1 to 6 option its work perfectly fine, but when i select 'All', it gives error message ' Type Mismatch'
    2) When RG field is varchar2
    Whenever I select 1 to 6 option its work perfectly fine, but when i select 'All', it gives message ' no record found'
    Could any one tell what i am doing wrong or give me some other idea or solution
    Its Urgent---------------
    Sagar

    It's easiest to get this all working if you stick with varchar2 types. For the radiogroup item, set display extra values No, set display null No, display value (leave empty). For LOV query:
    select '-All-' d, '0' r from dual
    union all
    select distinct RG d, RG r from participant
    For report query:
    select "PARTICIPANT"."AGSNO" as "AGSNO",
    "PARTICIPANT"."FIRSTNAME" as "FIRSTNAME",
    "PARTICIPANT"."LASTNAME" as "LASTNAME",
    "PARTICIPANT"."RG" as "RG"
    from "PARTICIPANT"
    where ("PARTICIPANT"."RG" = :P5_R_RG) or :P5_R_RG = '0'
    Scott

  • I need to create several different sets of radio buttons within one document.

    How do I designate a group of radio buttons. When I export my file as it is now, all of the radio buttons in my file are in just one group, which is not accurate.
    Thank you

    Thank you. As it turns out I had done it correctly, the style was just so, that the radio button was hard to distinguish if it had been clicked or not. When I zoomed in there was a slight dot in the center of the radio button to designate that it was actually selected.
    Thank you again.

  • Layering radio button exclusion groups

    I would like to create a table using radio buttons, where the heading row is one exclusion group, and the two rows below it are two more exclusion groups.
    Then, I would like each column underneath the heading to be a separate mini exclusion group.
    Finally, for whichever button is selected in the heading row, I would like only the mini exclusion group directly beneath it to be able to be used.
    Is this even possible, or can radio buttons only belong to one group at a time?
    Shoshana

    The script isn't too complicated. The problem is that you have to get around the fact that Acrobat will always let a form with a radio button group flagged as mandatory be submitted regardless of whether a radio button within the group has been selected prior to submission.
    You can do this by using two buttons: The first is a regular (non-submitting) button while the second is the actual email submit button. The catch is that the real email submit button is hidden (it can't be seen on the form, nor can it be clicked on by the user).
    The first step, which isn't really necessary but would be good practice, would be to mark the radio button group which contains the radio buttons as being mandatory. You can do this by selecting any of the radio buttons in the group which should be mandatory, going to the Object palette and setting the Type property to
    User Entered - Required. This will have the effect of Acrobat being able to highlight the radio buttons in red if the user chooses to "Highlight required fields" when filling the form.
    The second step is setting-up the two buttons. This step is identical to the second step described in the following thread (about making a check box mandatory for email submission):
    Mandatory check box before form submission. Have a look at the first reply to the thread. You should start reading at the paragraph that begins with, "The second part..."
    The script checks that the value of the check box is "1". Your script would simply check that the radio button group's rawValue property isn't an empty string.
    Stefan
    Adobe Systems

  • How can I set a radio button to a be checked using an action script?

    Acobat X: I have two radio buttons called EnrollmentType with different values. "New Student" and "Returning Student". I need to set 160 forms to returning student, Please
    will this work?
    getField("EnrollmentType").value = "Returning Student"

    This is Adobe X Pro:
    Ok when I click the properties of the radio button. Both have the same
    "Enrollment type".
    But each has a different "Radio Button Choice" under the  Options TAB.
    It does work when I process the forms and save the data.
    The field "Enrollment type" contains either "New Student" or "Returning
    Student" depending on which option they picked.
    I am sending these forms back to the parents to edit any new/changed info
    and want it to have "Returning Student" checked since they are in fact
    returning and not new anymore.

Maybe you are looking for

  • Lenovo x220 Wifi stops with external monitor

    Hi. When I plug an external monitor into my X220 the WIFI seems to cease. As soon as I unplug the monitor all is fine. Any ideas? Thank you.

  • Recording external keyboard

    Hi - am new to GB although have used logic express. Am using external keyboard, through a firewire 410 interface. Interface is working fine with GB for midi, but not for external sounds - interface is picking up sounds from keyboard, but nothing is c

  • Is it possible to use single communication channel

    Hi,     I have created a RFC(sender) CC for one scenario (RFC ->XI -> SOAP). Now I have got same scenario but the SOAP target service is different. Hence created new CC for target SOAP(receiver). But the sender SAP system is same, So, Can I use the s

  • W540 - Screen Sharpness of IE vs Chrome

    Anyone notice that IE 11.x is VERY SHARP, text, images, etc, but Chrome is fuzzy?  I've not tried Firefox.... There must be something odd in my settings of Chrome.  Any comment??

  • Default Open CR2 files from SD card or from LR5 in ACR/CS6

    How/where do I set this up; I don't want the files to default open in PS. TIA OS 10.10.2, ACR 8,6, PS 13.0.6 x64, LR 5.7