Radio button 'Names' and grouping

Ok, I am still working on my Monster form...
Probably pushing the envelope for what Forms can do...but hey...
My "buttons" are all named "Button.section.number"  (ex. Button.1.13) so that my validate scripts can quickly go through and build other tables and things....
In each section, there are 3-4 buttons where I want at-least-one to be selected.
Obviously, a "Radio Button" will give me ONLY one selected, but I am having NAME problems in that when I try to name them so the scripts will work the button  come out of the group. (and crash Acrobat)
so...in a section, what I want to have is:
Button.2.0     (.hidden,  .value = "Grounds")
Button.2.1 \
Button.2.2  want these 4 in an exclusive group, where an entry is ".required" for at least one of them
Button.2.3 /
Button.2.4              A validate script runs later that looks for "blank" .required fields and reports out using "userName" in an "appAlert"
Button.2.5
Button.2.16  (.hidden, .value= "MAX")
My Validate scripts go through all the sections and all the buttons finding boxes that are checked that represent problems, and copy's the fields "Export Data" to a summary page -AND- looks for empty .required fields  (and other things)
I would LIKE the user to be forced to select  one of : Serviceable, Deficient, Hazard or N/A  for each section.  (Button.1.1, Button.1.2, Button.1.3, Button.1.4 in this example)
Do I need a "button_up" script (the same in all 4 buttons) that makes sure there is at least one selected. and clearing/setting the .required's on the fields ?  That seems messy.  I could start the form with the last choice (N/A) checked, but that seems error prone. 
The current validate script checks for empty .required fields, so if I make all 4 fields as required I will get 4 error messages, not ideal....
Ideas Please??
Idea as I was writing this.... Since Button.section.0 is hidden, I can toggle the .required flag on that?  But I still need a script that will set/clear the .required when the user select -any- of the checkboxes/buttons
In case people are interested, all my sections are different sizes, but Button.section.0 contains the "Section Name" ('Grounds' for example) and when (Button.Section.number).value  = "MAX" you have reached the end of -that- section. It works very nicely and is FAST becasue the build is only done when requested, not continously..
PS...this works with PC Reader ONLY.  Android reader does not support this but qPDF for Android does.

I had the same problem; hopefully my solution will be of help to anyone searching this problem via a search engine.
http://forums.adobe.com/message/4347266#4347266
Individual radio buttons cannot be named (only the overal exclusion group can be named) or else rawValues will not export.

Similar Messages

  • Radio Buttons, Coldfusion and HTML

    Hello.
    I want to use 4 radio buttons. Each one has a different $
    amount. The user chooses a radio button ($ amount) and then clicks
    on the PayPal donation button which sends the user to the PayPal
    payment page with the correct $ amount chosen.
    The HTML code for the PayPal link allows me to use the
    following code:
    <input type="hidden" name="amount"
    value="<cfoutput>#MoneyAmount#</cfoutput>">
    I just have to figure out how to get the MoneyAmount chosen
    by the user depending on which radio button is chosen.
    I do not want to put the radio button into another form
    because as I understand it the user would have to click another
    submit button first via cfform. That defeats the purpose. Any way
    to find out which button is chosen with out using the submit
    button?
    If you are confused at what I am talking about, check out
    this website that has what I want:
    http://www.licadho.org/donation.php
    They do it with Javascript but I am sure I can do it in
    ColdFusion.
    Any ideas.
    I appreciate the help.
    Pedro

    They appear to do it with a simple form, not javascript.
    Plus, they have radio buttons on the form. What exactly are you
    having difficutly with?

  • Run time update on Button name and Action of Button

    I want to change the button name and button path in the GUI directly. So user can update GUI as per their requirement.
    Now I have built a GUI with multiple buttons. Whenever the button clicked corresponding webpage will be opened. This Button name and webpage link can not be changed as per current GUI design.
    But I want to allow anybody to update the Button name and webpage link as per their need.
    Please suggest , how can I achieve it? Please share if you have some code snippet.

    Changing the text on a Swing JButton is pretty simple. That isn't an appropriate question for this forum, however. This forum is for questions concerning using or extending WindowBuilder. General Swing questions should be posted to a general Swing/Java forum.

  • 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

  • Radio button names disappear in Fields menu

    I'm having this very odd experience in which the names of radio buttons I've created and grouped randomly disappear in the Fields menu.
    That probably doesn't describe it too well, so here's what I'm seeing:
    Notice how there's a gap between "Choice1" and "Choice3"? It should read "Choice2". If you look at the form itself, there are clearly five radio buttons.
    The 'invisible' buttons in the menu disappear randomly once I create more buttons. Sometimes it's "Choice2", sometimes it's "Choice5".
    Any thoughts/suggestions?
    Thanks!

    I had the same problem; hopefully my solution will be of help to anyone searching this problem via a search engine.
    http://forums.adobe.com/message/4347266#4347266
    Individual radio buttons cannot be named (only the overal exclusion group can be named) or else rawValues will not export.

  • Why not autoskip for radio buttons? and the  update_allowed FALSE issue

    I would so dearly love there to be autoskip for radio buttons. (forms 11.1.1.4 jre 6...24) There is no autoskip property for the radio group nor for the individual buttons.
    I don't find an easy way to emulate it either. Or am I missing something?
    Anyone else solve this problem already? When the user selects a radio choice I want the focus to move
    to the next enabled item on the form. You can do this with text items but not with radio groups. (In some cases the radio group has a when-radio-changed trigger
    that enables/disables following items). This would all be a lot easier if radio groups just had autoskip. I wonder why they don't?
    BTW the following has cost me a huge amount of time. In 6i it was the case in my experience that if you
    disabled an item like this:
    PROCEDURE disable_item (myitem in varchar2) IS
    BEGIN
         copy(null,myitem);
            set_item_property(myitem,enabled,property_false);
         set_item_property(myitem,visual_attribute,'DISABLED');
    END;Then that could be reversed as so (the weird thing was you had to set navigable also despite not
    having changed it yourself.
    PROCEDURE enable_item (myitem in varchar2) IS
    BEGIN
      set_item_property(myitem,enabled,property_true);
      set_item_property(myitem,navigable,property_true);
      set_item_property(myitem,visual_attribute,'ENABLED');
    END;But in 11.1.1.4 I had lots of trouble with Lov's not rising after the item had been disabled and then
    re-enabled. No error message. Just didn't do it. Eventually I figured out that what happens is that
    after disabling an item the item as also non-updateable. This was not the case in 6i. So then
    the enable item code has to be something like this: [Note despite that not update_allowed it did not
    automatically grey out the item firefox 3.6.17 and it still has to be done programmatically.]
    PROCEDURE enable_item (myitem in varchar2) IS
    BEGIN
      set_item_property(myitem,enabled,property_true);
      set_item_property(myitem,navigable,property_true);
      set_item_property(myitem,visual_attribute,'ENABLED');
      set_item_property(myitem,update_allowed,property_true);
    END;

    Well right now 11.1.1.4 for autoskip for radio buttons this seems to be working ok. Crossing my fingers!
    a block level when-radio-changed trigger with after scope (where item level when-radio-changed triggers
    have before scope) with a simple next_item in there.
    Where I was having problems before was next_item-ing onto disabled items. There was some kind of issue
    with lov's. I'm having less trouble raising the lov programmatically. but also I had the problem that
    items were getting set non-update_allowed without my realization.
    when new item instance:
    declare
         currfield varchar2(70) := null;
    begin     
         currfield := :system.trigger_field;
    if (get_item_property(currfield,UPDATE_ALLOWED) = 'TRUE')
         and (get_item_property(currfield,UPDATE_PERMISSION) = 'TRUE') then
           list_values;
    else
         mess(currfield || ' UPDATE not allowed');
    end if;
    end;(mess is my program to display alerts.)

  • Supress radio buttons "Confirmation" and "Invoice" in SHC status overview

    Hello,
    We use SRM 5.0 - Classic escenario.
    I need to know how one can supress the "confirmation" and "Invoice" radio buttons which appear in the status overview of the SHC after the Purchase Order has been created for it.
    Is this Config, Profiles or a BADI one has to aplicate.
    In the last case, can anyone send me some example coding.
    Thanks for any answer,
    Aart

    Hi Disha,
    SDN does not allow me to send my  direccion in one piece.
    So I cut it up in three parts, just add the bits to get the full direccion
    1.     aart.engbersen
    2.     @
    3.     visionone.cl
    Thanks
    Aart

  • How to export all distribution group display names and group notes

    We would like to create a list of distribution groups that includes the "Notes" information and email address.  I have found several option, but none of them reveal the Notes.  Where is the "Notes" information for groups
    and how can we report on it?

    You can run this command to get the name of all the DL's
    Get-DistributionGroup | FL Name
    I checked, and Group Information attribute doesn't have all the information.
    Run Get-DistributionGroup -Identity "NameOfTheDL" |Fl
    In the output of above command, check if you see anything Group Information and Notes.
    Cheers,
    Gulab Prasad
    Technology Consultant
    Blog:
    http://www.exchangeranger.com    Twitter:
      LinkedIn:
       Check out CodeTwo’s tools for Exchange admins
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • How to default the radio button confirmation and invoice in shopping cart

    Hi Guys,
    In the shopping cart for a limit item I need to default the radio button for CONFIRMATION AND INVOICE as it is now defaluted to INVOICE ONLY .
    Please let me know how to change as I could not achieve it through UI badi.
    Thanks & Regards
    Arun

    Did you try the suggestions mentioned here: To make the field for Display only on the Shopping Cart Portal
    I'm looking for a way to restrict the "Invoice Only" option depending on the product category selected.  Do you know I would do this?
    For example only allow "Invoice Only" to be selected if Product Category X is selected.  If product category Y is selected then grey-out "Invoice Only".
    Matt

  • Address Book names and groups are gone - forever?

    Hmmm.
    After I added two names to Address Book from a message header in Mail, I noticed a duplicate name and selected the menu item to merge the two "cards."
    Boom, as teh steve would say, several groups and over a hundred names are gone, now.
    Only two names remain—the name I was adding and the duplicate name I was merging
    (the one with the wrong spelling, ironically).
    No undo was available. Nothing appeared in the trash. No, "Are you sure?" No warning messages about the change having no recourse, etc.
    I've already had 2 very stiff drinks (I'm over 21 and do not intend to drive and feel otherwise socially responsible and do not condone irresponsible behaviour, etc., etc., etc.)
    Any ideas about recovering any data would be REALLY helpful. Thank you.
    I notice there's a way to back up the Address Book data. Gee, that's really nice to know, now.
    Edit: OS is 10.4.11 with this problem
    Message was edited by: stan

    Sorry Stan... have you rebooted yet?
    Look & see if you have a file like this...
    Address Book - 7:31:08.abbu
    Date will be different.
    In finder go to /Users/YourUserName/Library/Application Support/AddressBook
    see if there are any files like this in it...
    AddressBook.data
    Images
    AddressBook.data.previous
    ABPerson.skIndexInverted
    .import.lockN
    .skIndex.ABPerson.lockN
    .database.lockN
    AddressBook.data.beforesave
    ABPerson.skIndex
    LastImport.plist
    If it's really gone, quit using the computer if you wish a chance to recover it.

  • How to pivot horizontally Author names, and group by Book title. One row per book with multiple authors

    I have 3 tables - Book, Author, BookAuthorReference
    A book can have multiple authors, and when I do straight query I get multiple rows per book
    SELECT <columns>
    FROM Book b, Author a, BookAuthorReference ba
    where ba.BookId = b.BookId and
    ba.AuthorId = a.AuthorId
    I want to get the results as ONE row per book, and Authors separated by commas, like:
    SQL 2008 internals book    Paul Randal, Kimberly Tripp, Jonathan K, Joe Sack...something like this
    Thank you in advance

    This can by done by straying into XML land. The syntax is anything but intuitive, but it works. And moreover, it is guaranteed to work.
    SELECT b.Title, substring(a.Authors, 1, len(a.Authors) - 1) AS Authors
    FROM   Books b
    CROSS  APPLY (SELECT a.Author + ','
                  FROM   BookAuthorReference ba
                  JOIN   Authors a ON a.AuthorID = ba.AuthorID
                  WHERE  ba.BookID = a.BookID
                  ORDER  BY ba.AuthorNo
                  FOR XML PATH('')) AS a(Authors)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • 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

  • Radio Button Groups

    Hi I am trying to create two radio button groups, one which contains other text buttons and names buttons, in this group only other text button or names can be chosen. But then within the other group I have all the names buttons, but i only want one of these to be chosen at a time. Heres my code
    [AS]
    import fl.controls.RadioButtonGroup;
    //===========================All Name Buttons============================
    var NameTxtRadio:RadioButtonGroup=new RadioButtonGroup("NameTxtRadio");
    LBtextMenu.LBnames.group=NameTxtRadio;
    RBtextMenu.RBnames.group=NameTxtRadio;
    LStextMenu.LSnames.group=NameTxtRadio;
    RStextMenu.RSnames.group=NameTxtRadio;
    LBtextMenu.LBnames.addEventListener(MouseEvent.CLICK, NamesshowResult);
    RBtextMenu.RBnames.addEventListener(MouseEvent.CLICK, NamesshowResult);
    LStextMenu.LSnames.addEventListener(MouseEvent.CLICK, NamesshowResult);
    RStextMenu.RSnames.addEventListener(MouseEvent.CLICK, NamesshowResult);
    function NamesshowResult(event:MouseEvent):void {
       switch (NameTxtRadio.selection) {
              case RBtextMenu.RBnames :
               trace ("RB names chosen");
                             RStextMenu.RSnames.selected = false;
                           RBtextMenu.RBnames.selected = true;
                           LBtextMenu.LBnames.selected = false;
                           LStextMenu.LSnames.selected = false;
                            break;
                           case LBtextMenu.LBnames :
               trace ("LB names chosen");
                            RStextMenu.RSnames.selected = false;
                           RBtextMenu.RBnames.selected = false;
                           LBtextMenu.LBnames.selected = true;
                           LStextMenu.LSnames.selected = false;
                            break;
                           case LStextMenu.LSnames :
               trace ("LS names chosen");
                             RStextMenu.RSnames.selected = false;
                           RBtextMenu.RBnames.selected = false;
                           LBtextMenu.LBnames.selected = false;
                           LStextMenu.LSnames.selected = true;
                            break;
                           case RStextMenu.RSnames :
               trace ("RS names chosen");
                           RStextMenu.RSnames.selected = true;
                           RBtextMenu.RBnames.selected = false;
                           LBtextMenu.LBnames.selected = false;
                           LStextMenu.LSnames.selected = false;
                            break;
    //==========================Right Breast text menu==========================
    var RBTxtRadio:RadioButtonGroup=new RadioButtonGroup("RBTxtRadio");
    RBtextMenu.RBotherTxt.group=RBTxtRadio;
    RBtextMenu.RBnames.group=RBTxtRadio;
    RBtextMenu.RBotherTxt.addEventListener(MouseEvent.CLICK, RBshowResult);
    RBtextMenu.RBnames.addEventListener(MouseEvent.CLICK, RBshowResult);
    function RBshowResult(event:MouseEvent):void {
       switch (RBTxtRadio.selection) {
              case RBtextMenu.RBotherTxt :
               trace ("RB other chosen");
                            break;
                           case RBtextMenu.RBnames :
               trace ("RB names chosen");
                            break;
    //==============================================================================
    //==========================Left Breast text menu==========================
    var LBTxtRadio:RadioButtonGroup=new RadioButtonGroup("LBTxtRadio");
    LBtextMenu.LBotherTxt.group=LBTxtRadio;
    LBtextMenu.LBnames.group=LBTxtRadio;
    LBtextMenu.LBotherTxt.addEventListener(MouseEvent.CLICK, LBshowResult);
    LBtextMenu.LBnames.addEventListener(MouseEvent.CLICK,LBshowResult);
    function LBshowResult(event:MouseEvent):void {
       switch (LBTxtRadio.selection) {
              case LBtextMenu.LBotherTxt :
               trace ("LB other chosen");
                            break;
                           case LBtextMenu.LBnames :
               trace ("LB names chosen");
                            break;
    //==============================================================================
    //==========================Left Shoulder text menu==========================
    var LSTxtRadio:RadioButtonGroup=new RadioButtonGroup("LSTxtRadio");
    LStextMenu.LSotherTxt.group=LSTxtRadio;
    LStextMenu.LSnames.group=LSTxtRadio;
    LStextMenu.LSotherTxt.addEventListener(MouseEvent.CLICK, LSshowResult);
    LStextMenu.LSnames.addEventListener(MouseEvent.CLICK,LSshowResult);
    function LSshowResult(event:MouseEvent):void {
       switch (LSTxtRadio.selection) {
              case LStextMenu.LSotherTxt :
               trace ("LS other chosen");
                            break;
                           case LStextMenu.LSnames :
               trace ("LS names chosen");
                            break;
    //==============================================================================
    //==========================Right Shoulder text menu==========================
    var RSTxtRadio:RadioButtonGroup=new RadioButtonGroup("RSTxtRadio");
    RStextMenu.RSotherTxt.group=RSTxtRadio;
    RStextMenu.RSnames.group=RSTxtRadio;
    RStextMenu.RSotherTxt.addEventListener(MouseEvent.CLICK, RSshowResult);
    RStextMenu.RSnames.addEventListener(MouseEvent.CLICK,RSshowResult);
    function RSshowResult(event:MouseEvent):void {
       switch (RSTxtRadio.selection) {
              case RStextMenu.RSotherTxt :
               trace ("RS other chosen");
                            break;
                           case RStextMenu.RSnames :
               trace ("RS names chosen");
                            break;
    //==============================================================================
    [/AS]
    I have no problem choosing between either, other text button or names, only one is selected at a time, but this isnt the case for the other group im able to select multiple name buttons without the other one becoming deselected.
    Thanks in advance for any help.

    Hi just if anyone else wants to do something like i have, I had to ditch the radio button component and make my own.
    Heres the code.
    [AS]
    RBnamesTextButton.CustomRadioButton.stop();
    LBnamesTextButton.CustomRadioButton.stop();
    RSnamesTextButton.CustomRadioButton.stop();
    LSnamesTextButton.CustomRadioButton.stop();
    RBnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OVER, rollOverState01);
    LBnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OVER, rollOverState01);
    RSnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OVER, rollOverState01);
    LSnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OVER, rollOverState01);
    function rollOverState01(event:MouseEvent):void
              if (event.target.currentFrame !== 3)
                        event.target.gotoAndStop("over");
    RBnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OUT, rollOffState01);
    LBnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OUT, rollOffState01);
    RSnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OUT, rollOffState01);
    LSnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OUT, rollOffState01);
    function rollOffState01(event:MouseEvent):void
              if (event.target.currentFrame !== 3)
                        event.target.gotoAndStop("off");
    RBnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState01);
    LBnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState01);
    RSnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState01);
    LSnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState01);
    function rollupState01(event:MouseEvent):void
              RBnamesTextButton.CustomRadioButton.gotoAndStop(1);
              LBnamesTextButton.CustomRadioButton.gotoAndStop(1);
              RSnamesTextButton.CustomRadioButton.gotoAndStop(1);
              LSnamesTextButton.CustomRadioButton.gotoAndStop(1);
              event.target.gotoAndStop(3);
    //======================================OTHER TEXT========================================================
    RBotherTextButton.CustomRadioButton.stop();
    LBotherTextButton.CustomRadioButton.stop();
    LSotherTextButton.CustomRadioButton.stop();
    RSotherTextButton.CustomRadioButton.stop();
    RBotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OVER, rollOverState02);
    RSotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OVER, rollOverState02);
    LBotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OVER, rollOverState02);
    LSotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OVER, rollOverState02);
    function rollOverState02(event:MouseEvent):void
              if (event.target.currentFrame !== 3)
                        event.target.gotoAndStop("over");
    RBotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OUT, rollOffState02);
    RSotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OUT, rollOffState02);
    LBotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OUT, rollOffState02);
    LSotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_OUT, rollOffState02);
    function rollOffState02(event:MouseEvent):void
              if (event.target.currentFrame !== 3)
                        event.target.gotoAndStop("off");
    //===============================RB BUTTONS================================================
    RBnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState03);
    RBotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState04);
    function rollupState03(event:MouseEvent):void
              RBnamesTextButton.CustomRadioButton.gotoAndStop(3);
              RBotherTextButton.CustomRadioButton.gotoAndStop(1);
              trace("Right Breast names clicked")
    function rollupState04(event:MouseEvent):void
              RBotherTextButton.CustomRadioButton.gotoAndStop(3);
              RBnamesTextButton.CustomRadioButton.gotoAndStop(1);
              trace("Right Breast text clicked")
    //======================================================================================== =======
    //===============================LB BUTTONS================================================
    LBnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState05);
    LBotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState06);
    function rollupState05(event:MouseEvent):void
              LBnamesTextButton.CustomRadioButton.gotoAndStop(3);
              LBotherTextButton.CustomRadioButton.gotoAndStop(1);
              trace("Left Breast names clicked")
    function rollupState06(event:MouseEvent):void
              LBotherTextButton.CustomRadioButton.gotoAndStop(3);
              LBnamesTextButton.CustomRadioButton.gotoAndStop(1);
              trace("Left Breast text clicked")
    //======================================================================================== =======
    //===============================RS BUTTONS================================================
    RSnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState07);
    RSotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState08);
    function rollupState07(event:MouseEvent):void
              RSnamesTextButton.CustomRadioButton.gotoAndStop(3);
              RSotherTextButton.CustomRadioButton.gotoAndStop(1);
              trace("Right Shoulder names clicked")
    function rollupState08(event:MouseEvent):void
              RSotherTextButton.CustomRadioButton.gotoAndStop(3);
              RSnamesTextButton.CustomRadioButton.gotoAndStop(1);
              trace("Right Shoulder text clicked")
    //======================================================================================== =======
    //===============================LS BUTTONS================================================
    LSnamesTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState09);
    LSotherTextButton.CustomRadioButton.addEventListener(MouseEvent.MOUSE_UP, rollupState10);
    function rollupState09(event:MouseEvent):void
              LSnamesTextButton.CustomRadioButton.gotoAndStop(3);
              LSotherTextButton.CustomRadioButton.gotoAndStop(1);
              trace("Left Shoulder names clicked")
    function rollupState10(event:MouseEvent):void
              LSotherTextButton.CustomRadioButton.gotoAndStop(3);
              LSnamesTextButton.CustomRadioButton.gotoAndStop(1);
              trace("Left Shoulder text clicked")
    //======================================================================================== =======
    [/AS]
    There is probably a more efficent way to code this but im an AS noob :]

  • Disabling radio button and only keep one active out of all...

    Hello Gurus,
    I have 4 radio button names as RD1. RD2, RD3 and in the last RD4.
    Now when user excutes the transaction, I want only RD3 to be selected and RD1, RD2 and RD4 to be inactive (greyed out). I tried couple of ways but its not happening.
    Please help.
    AT SELECTION-SCREEN OUTPUT.
      if sy-tcode = 'ZCUST'.
        loop at screen.
         if screen-name = 'RD1'. 
            screen-active = 0.
            MODIFY SCREEN.
          endif.
          if screen-name = 'RD2'. 
            screen-active = 0.
            MODIFY SCREEN.
          endif.
          if screen-name = 'RD4'.  
            screen-active = 0.
            MODIFY SCREEN.
          endif.
        endloop.
      endif.
    Regards,
    TGSHAH.

    Please use the below code. This works fine .. i have tested it ...
    thx
    PARAMETERS: p_unix1  TYPE  c RADIOBUTTON GROUP ft1 USER-COMMAND usr1 DEFAULT 'X',
                p_netw1  TYPE  c RADIOBUTTON GROUP ft1,
                p_netw2  TYPE  c RADIOBUTTON GROUP ft1,
                p_netw3  TYPE  c RADIOBUTTON GROUP ft1.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
          IF screen-name = 'P_UNIX1'.
            screen-input = '1'.
           screen-active = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name = 'P_NETW1'.
            screen-input = '0'.
           screen-active = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name = 'P_NETW2'.
            screen-input = '0'.
           screen-active = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name = 'P_NETW3'.
            screen-input = '0'.
           screen-active = '0'.
            MODIFY SCREEN.
          ENDIF.
          endloop.

  • Radio button and  show text

    hello
    i am assigned to create a page (index and action page) where
    the index page has a group of radio buttons ( 4 of them) . if one
    of the four the radio button is selected then a text (paragraph of
    about 30 lines) is shown in the action page after a submitt button
    or next button . can this be done????
    if it can be done how and what is the code for it
    thanks

    display paragraph comes from???
    i dont know yet. would it be better if
    can i just store it on same page where the radio button is
    declared?? then send it to the action page myactionpage.cfm
    this is the example so if a radio button ( a combination of
    radio button it will display in a page)
    what will be displayed for every combination there will be a
    paragraph.
    for example if a radio button bob and camping then i will
    show in the action page (for ex) "BOB had an exciting camping trip"
    if bob and kickback is selected then the message on
    myactionpage.cfm will say in text" bob Kickback and stayed home"
    can this be done.
    if so how
    here is what my example:
    <html>
    <head>
    <title>My sample Page</title>
    </head>
    <body>
    <form name="myform" action="
    http://www.myactionpage.com/
    " method="POST">
    <div align="center"><br>
    <input type="radio" name="group1" value="bob">
    bob<br>
    <input type="radio" name="group1" value="ken" checked>
    ken<br>
    <input type="radio" name="group1" value="Carol"> Carol
    <hr>
    <input type="radio" name="group2" value="camping">
    camping<br>
    <input type="radio" name="group2" value=" riverrafting
    "> riverrafting<br>
    <input type="radio" name="group2" value="kickback"
    checked> kickback<br>
    </div>
    </form>
    </body>
    </html>
    <form name="myform" action=
    http://www.myactionpage.com
    method="POST">
    <div align="center">
    <br><input type="submit"
    value="combinationofradiobuttons!"><br>
    </div>
    </form>
    </body>
    </html>

Maybe you are looking for

  • How to play more than 2 audio at the same time in a page

    I worked for interactivity book's page in Hype and I inserted two audio in a page One is background music played when page opend, Other is effect audio that played when touch the object. i added this widget in ibooks author. In ibooks-author on mac,

  • Why does my artwork print slightly larger than actual size? - MacOS 10.9.2

    I have an issue which I have no answer.  Every time I print an artwork for product mockup, say a 3x5 card, it prints slightly larger than a 3x5 card.  I have to manually scale my artwork down to 98.5 in the print dialog to get as close as possible to

  • Training what to take...

    Hello All, I am very new to SAP.  We run SAP on Oracle platform. I recently took the SAPTEC course in SAP Pennsylvania to become familiar with SAP.  One of our lead guys has quit the company and I am now being given the role to become an SAP Basis Ad

  • HT204266 Mountain Lion Won't Download

    Started downloading Mountain Lion form the App Store, and it stopped around 53MB. Says "a problem has occurred. No additional info and it won't resume. Any advice? Thanks!

  • Z50-70 - Touchpad-Probleme

    Hallo Community, ich bin seit 3 Tagen Besitzer meines ersten Lenovos (Z50-70 mit i5 Prozessor). Windows 8.1. hatte ich selbst installiert, was auch problemlos dank mitgelieferter Lenovo-Treiber-CD funktioniert hat. Leider hatte ich gestern dann ein P